:root {
    --club-gradient: linear-gradient(253deg, rgb(241 232 218) 26%, rgb(191 175 151) 100%);
    --club-font-color: #694f3c;
}



section#dahboard-myaccount {
    padding: 1em;
    margin-bottom: 1em;
    background: #f8f8f8;
    background: var(--account-nav-background-active-color, var(--theme-palette-color-1));
    border-radius: 6px;
    color: #eee;

    .my-account-header {
        margin-bottom: .1em;
    }

    h3 {
        color: #eee;
        margin: 0;
    }

    .edit-profile {
        margin-top: 5px;
        font-size: 70%;
    }

    a {
        color: #eee;
        text-decoration: underline;
    }

    a:hover {
        color: #ccc;
        text-decoration: none;
    }

    img.avatar.avatar-80.photo.rounded-full {
        border-radius: 4px;
    }



}

/* Photo profile */
@media (max-width: 768px) {
    img.avatar.avatar-80.photo.rounded-full {
        width: 50px;
    }
}



.div-logout {
    text-align: right;

    a {
        font-size: 80%;
        padding: .5em 1em;
        background: #eee;
        border-radius: 3px;
        color: #555;
    }

    a:hover {
        color: #888;
    }
}

.woocommerce-MyAccount-content {
    overflow-x: hidden;
    min-height: 30vh;
}

.woocommerce-MyAccount-content h2 {
    font-size: 1.4em;
    margin: 0;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .woocommerce-MyAccount-content h2 {
        font-size: 1.2em;
    }
}

.action-right {
    float: right;
    margin-right: 2px;

}

/* Menu */

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--my-coupons {
    display: none;
}

/* Ganti ikon di menu My Account WooCommerce */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "\f0e4";
    /* icon dashboard */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "\f291";
    /* icon shopping bag */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.woocommerce-MyAccount-navigation-link--club a::before {
    content: "\f0c0";
    /* icon users */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.woocommerce-MyAccount-navigation-link--store-credit a::before {
    content: "\f53c";
    /* icon coins */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.woocommerce-MyAccount-navigation-link--affiliate a::before {
    content: "\f2bb";
    /* icon handshake */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "\f007";
    /* icon user */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "\f015";
    /* icon home */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.woocommerce-MyAccount-navigation-link--woo-wish-list a::before {
    content: "\f004";
    /* icon heart */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "\f2f5";
    /* icon sign-out */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

/* Efek Hover */
.woocommerce-MyAccount-navigation ul li:hover a, .woocommerce-MyAccount-navigation ul li.is-active a {
    border-bottom: 3px solid #aaa;
}

/* Dashboard */

#dashboard-order-active {

    .order-box {
        flex: 1 1;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: space-around;
        justify-content: space-between;
    }

    .product-info {
        display: flex;
        flex-direction: row;
    }

    .product-info-header {
        font-size: 75%;
    }

    .product-qty-price {
        font-size: 80%;
    }
}



.myaccount-club {
    padding: 1em;
    background: #f8f8f8;
    border-radius: 10px;

}

.club-group-section {
    padding: 1em;
    scrollbar-width: none;
    background: #c1b5a7;
    background: var(--club-gradient);
    border-radius: 10px;
    color: var(--club-font-color);
    margin-bottom: 1em;
}

.club-group {
    user-select: none;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 1rem;
    padding: 0.5rem;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.club-group::-webkit-scrollbar {
    height: 6px;
    /* tipis di bawah */
}

.club-group::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.club-wrap {
    text-align: center;
    margin: .5em 2em;
    margin-left: 3em;
    cursor: grab;
    padding: 1em;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-evenly;
    flex: 0 0 auto;

}

.club-box {
    position: relative;
    zoom: 75%;
    display: flex;
    padding: 0 0 1em;
    min-width: 400px;
    min-height: 220px;
    background: #ffffff6e;
    border-radius: 8px;
    margin: 0 auto 1em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 110%;
    box-shadow: 0 1px 10px #00000008;
}

.club-icon img {
    max-height: 60px;
}

@media (max-width: 999.98px) {
    .club-wrap {
        text-align: center;
        margin: 0;
        margin-left: 0;

        .club-box {
            min-width: 280px;
            min-height: 180px;
        }
    }

}

.club-box.active {
    zoom: 100%;
    font-size: 100%;
}

.club-box.not-pass {
    background: #636363d1;
    filter: grayscale(100%);
    color: #a3a3a3;
}

.club-icon {
    font-size: 3em;
}

.club-icon-first {
    font-size: 2.5em;
}

.club-name {
    font-weight: bold;
    font-size: 1.1em;
}

.club-active,
.club-pass {
    background: #85858542;
    padding: 0px 5px 4px;
    border-radius: 5px;
    font-size: 12px;
    margin-top: 5px;
}

.club-active {
    font-weight: bold;
}


.rail-club {
    height: 7px;
    width: 100%;
    min-width: 300px;
    border-radius: 5px;
    background: #ffffffd1;
    margin-bottom: 10px;
    overflow: hidden;
}

.rail-club-proccess {
    background: #21bb36;
    height: 100%;
}


div#tier-statistic {
    padding: 1.2em 1em;
    background: var(--club-gradient);
    border-radius: 10px;
    color: var(--club-font-color);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1em;

    .statistic-box {
        flex: 1 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        max-width: calc(50% - 1em);
        text-align: center;
        border-radius: 8px;
    }

    @media (max-width: 999.98px) {

        .statistic-box {
            flex: 1 1 calc(50% - 1em);
            max-width: calc(50% - 1em);
            text-align: center;
            padding: 0.8em;
            border-radius: 8px;
        }

        div:last-child:nth-child(odd) {
            flex: 0 1 50%;
            margin: 0 auto;
        }

    }

    .counter {
        font-weight: bold;
    }

    .title-stat {
        font-size: 14px;
    }

}

a.button-qr {
    overflow: hidden;
    padding: 8px;
    cursor: pointer;
}



.woocommerce-MyAccount-navigation-link--club a::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    /* ganti ukuran, posisi, repeat sesuai kebutuhan */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  stroke='currentColor' viewBox='0 0 24 24' fill='none'><path d='M3 9H21M7 15H9M6.2 19H17.8C18.9201 19 19.4802 19 19.908 18.782C20.2843 18.5903 20.5903 18.2843 20.782 17.908C21 17.4802 21 16.9201 21 15.8V8.2C21 7.0799 21 6.51984 20.782 6.09202C20.5903 5.71569 20.2843 5.40973 19.908 5.21799C19.4802 5 18.9201 5 17.8 5H6.2C5.0799 5 4.51984 5 4.09202 5.21799C3.71569 5.40973 3.40973 5.71569 3.21799 6.09202C3 6.51984 3 7.07989 3 8.2V15.8C3 16.9201 3 17.4802 3.21799 17.908C3.40973 18.2843 3.71569 18.5903 4.09202 18.782C4.51984 19 5.07989 19 6.2 19Z' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-size: 48px 48px;
    background-size: contain;
    font-size: 0 !important;
    color: blue;
}


/* bagian order */
table.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table.shop_table_responsive.my_account_orders.account-orders-table {

    td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions,
    th.woocommerce-orders-table__header.woocommerce-orders-table__header-order-actions {
        text-align: right;
        padding-right: 1em;
        
    }

    td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
        display: flex;
        
    }
    th.woocommerce-orders-table__header.woocommerce-orders-table__header-order-actions {
        padding-right: 2em;
    }

    th.woocommerce-orders-table__header.woocommerce-orders-table__header-order-status {
        text-align: center;
    }

    a.woocommerce-button.button.view {
        min-height: auto;
        width: auto;
    }

}

.woocommerce-pagination.woocommerce-pagination--without-numbers.woocommerce-Pagination {

    text-align: center;

    a.woocommerce-Button.button {
        min-height: auto;

    }
}

/* QR Scanner */

.club-qr {
    text-align: center;
}

.club-benefit {
    font-size: 75%;
    position: absolute;
    bottom: 10px;
    right: 16px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    opacity: .7;
    

    a {

        background: #cccccc6b;
        padding: 1px 5px;
        border-radius: 5px;
        text-decoration: none !important;
    }

}

.club-benefit:hover {
    opacity: 1;
}