/* --------- Card list -------------------- */
.card-table thead {
    background-color: var(--dh-beige-700);

}

.card-table thead th {
    padding: 8px 16px;
}

.card-table thead th:first-child {
    border-top-left-radius: 4px;
}

.card-table thead th:last-child {
    border-top-right-radius: 4px;
}

.card-table tbody td {
    padding: 16px 16px;
    cursor: pointer;
}

.card-table tbody tr {
    border-bottom: 1px solid var(--dh-beige-700);
}

.card-table tbody tr:nth-child(odd) {
    background-color: var(--dh-beige-500);
}

.card-table tbody tr:nth-child(even) {
    background-color: var(--dh-beige-400);
}


.card-detail-btn {
    width: 200px;
    margin-left: auto;
    margin-top: auto;
}

.dt-paging-button .page-link {
    background-color: var(--dh-beige-700);
    border-color: var(--dh-beige-900);
    color: black;
}


.dt-paging-button.active .page-link {
    color: var(--dh-beige-200) !important;
}


@media (max-width: 768px) {
    .card-detail-btn {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10px;
    }

}


/* ------------- Card detail ------------------ */

.attribute-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.attribute-cards .attribute {
    border-radius: 4px;
    background-color: var(--dh-dark-400);
    padding: 16px 0;
    width: 96px;
}

.attribute-cards .attribute-property{
    display: flex;
    vertical-align: middle;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 0 6px;
    font-size: 14px;
    color: var(--dh-beige-500);
    font-weight: 700;
    margin-bottom: 4px;
    height: 56px;
}

.attribute-cards .attribute-value{
    display: flex;
    vertical-align: middle;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 6px;
    font-size: 25px;
    font-weight: 700;
    color: var(--dh-gold-500);
    min-height: 45px;
}

.attributes-rows .row-attribute {
    border-radius: 4px;
    background-color: var(--dh-dark-400);
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    position: relative;
    gap: 20px;
}

.attributes-rows .row-attribute-name {
    min-width: 149px;
    position: relative;
    color: var(--dh-beige-500);
}

.attributes-rows .row-attribute-name:after {
    position: absolute;
    right: -11px;
    top: 50%;
    width: 2px;
    height: 38px;
    content: "";
    background: var(--dh-beige-800);
    transform: translate(0, -50%);
}

.attributes-rows .row-attribute-value {
    color: var(--dh-gold-500);
    font-weight: 700;
    font-size: 1.0rem;
}