/* ==========================================================================
   ACCOUNT DASHBOARD PAGE STYLES (Women Accessories)
   File: public/assets/css/account_dashboard.css
   ========================================================================== */

/* Breadcrumb Bar (#f8f8f8) */
.dashboard-breadcrumb-bar {
    width: 100%;
    background-color: #f8f8f8;
    padding-top: clamp(1.4rem, 1.6vw, 2.0rem);
    padding-bottom: clamp(1.4rem, 1.6vw, 2.0rem);
    border-bottom: 1px solid #f0f0f0;
}

.dashboard-breadcrumb-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: clamp(2.4rem, 4.8vw, 7.8rem);
    padding-right: clamp(2.4rem, 4.8vw, 7.8rem);
}

.dashboard-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.2rem, 0.95vw, 1.35rem);
    color: #595959;
    line-height: 1;
    margin: 0;
}

.dashboard-breadcrumb-link {
    color: #595959;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dashboard-breadcrumb-link:hover {
    color: #111111;
    text-decoration: none;
}

.dashboard-breadcrumb-sep {
    color: #777777;
    margin: 0 0.2rem;
}

.dashboard-breadcrumb-badge {
    background-color: #ff97aa;
    color: #111111;
    font-weight: 500;
    font-size: clamp(1.15rem, 0.9vw, 1.25rem);
    padding: 0.45rem 1.4rem;
    border-radius: 5rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.2rem 0.6rem rgba(255, 151, 170, 0.25);
}

/* ==========================================================================
   MAIN DASHBOARD SECTION
   ========================================================================== */

.dashboard-main-section {
    background-color: #ffffff;
    padding-top: clamp(4.0rem, 5.2vw, 6.4rem);
    padding-bottom: clamp(6.0rem, 8.0vw, 10.0rem);
    width: 100%;
}

.dashboard-main-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: clamp(2.4rem, 4.8vw, 7.8rem);
    padding-right: clamp(2.4rem, 4.8vw, 7.8rem);
}

/* Welcome Header Block */
.dashboard-welcome-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.4rem;
    margin-bottom: clamp(3.2rem, 4.0vw, 4.8rem);
}

.dashboard-welcome-left {
    max-width: 65rem;
}

.dashboard-welcome-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.8rem, 3.4vw, 4.4rem);
    font-weight: 500;
    line-height: 1.15;
    color: #111111;
    margin-top: 0;
    margin-bottom: clamp(0.8rem, 1.0vw, 1.2rem);
    letter-spacing: -0.015em;
}

.dashboard-welcome-subtitle {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.35rem, 1.05vw, 1.5rem);
    font-weight: 400;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

.dashboard-welcome-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-shrink: 0;
}

.btn-dashboard-logout {
    min-height: 4.6rem;
    height: 4.6rem;
    padding: 1.2rem clamp(2.2rem, 2.6vw, 3.2rem);
    border-radius: 5rem;
    background-color: #cc0000 !important;
    color: #ffffff !important;
    border: none;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.2rem, 0.9vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 0.3rem 1.2rem rgba(204, 0, 0, 0.3);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-dashboard-logout:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1.6rem rgba(204, 0, 0, 0.45);
    color: #ffffff !important;
}

.btn-dashboard-update-pwd {
    min-height: 4.6rem;
    height: 4.6rem;
    padding: 1.2rem clamp(2.2rem, 2.6vw, 3.2rem);
    border-radius: 5rem;
    background-color: #35f3ff !important;
    color: #000000 !important;
    border: none;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.2rem, 0.9vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 0.3rem 1.2rem rgba(53, 243, 255, 0.35);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-dashboard-update-pwd:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1.6rem rgba(53, 243, 255, 0.5);
    color: #000000 !important;
}

.btn-dashboard-update-pwd .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-dashboard-update-pwd:hover .btn-arrow {
    transform: translate(0.25rem, -0.25rem);
}

/* ==========================================================================
   ROW OF 3 STAT / PROFILE CARDS
   ========================================================================== */

.dashboard-stat-row {
    margin-bottom: clamp(4.0rem, 5.2vw, 6.4rem);
}

.dashboard-card {
    background-color: #f8f8f8;
    border-radius: 2.8rem;
    height: 100%;
    min-height: 28rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.04);
}

/* Card 1: Profile Card */
.dashboard-profile-card {
    padding: clamp(2.4rem, 3.0vw, 3.6rem) 2.0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.dashboard-profile-avatar-wrap {
    width: clamp(9.0rem, 9.6vw, 11.0rem);
    height: clamp(9.0rem, 9.6vw, 11.0rem);
    border-radius: 2.2rem;
    overflow: hidden;
    margin-bottom: 1.4rem;
    background-color: #ffffff;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.06);
}

.dashboard-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dashboard-profile-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.8rem;
}

.dashboard-member-since {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666666;
    line-height: 1;
}

.dashboard-profile-name {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.8rem, 1.4vw, 2.2rem);
    font-weight: 500;
    color: #111111;
    margin: 0;
    line-height: 1.2;
}

.btn-dashboard-profile {
    height: clamp(4.4rem, 3.8vw, 4.8rem);
    padding: 0 clamp(2.4rem, 3.0vw, 3.8rem);
    border-radius: 5rem;
    background-color: #35f3ff !important;
    color: #000000 !important;
    border: none;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.15rem, 0.9vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0.2rem 1.0rem rgba(53, 243, 255, 0.35);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-dashboard-profile:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
    box-shadow: 0 0.4rem 1.4rem rgba(53, 243, 255, 0.5);
    color: #000000 !important;
}

.btn-dashboard-profile .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-dashboard-profile:hover .btn-arrow {
    transform: translate(0.25rem, -0.25rem);
}

/* Card 2 & 3: Stat Cards */
.dashboard-stat-card {
    padding: clamp(2.8rem, 3.4vw, 4.0rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-stat-icon-box {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 1.2rem;
    background-color: #ff97aa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.2rem 0.8rem rgba(255, 151, 170, 0.35);
}

.dashboard-stat-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 3.6rem;
}

.dashboard-stat-label {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.6rem, 1.25vw, 1.85rem);
    font-weight: 400;
    color: #111111;
    margin: 0;
    line-height: 1.2;
}

.dashboard-stat-val {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(3.4rem, 3.8vw, 4.6rem);
    font-weight: 400;
    color: #111111;
    margin: 0;
    line-height: 1;
}

/* ==========================================================================
   SECTION 2: 3 VISUAL CATEGORY FEATURE BANNERS
   ========================================================================== */

.dashboard-banners-section {
    margin-bottom: clamp(4.4rem, 6.0vw, 8.0rem);
    width: 100%;
}

.dashboard-banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
}

.dashboard-banner-col {
    display: flex;
    flex-direction: column;
}

.dashboard-banner-card {
    display: block;
    text-decoration: none;
    color: #111111;
    overflow: hidden;
}

.dashboard-banner-img-wrap {
    width: 100%;
    aspect-ratio: 610 / 755;
    overflow: hidden;
    background-color: #f0f0f0;
}

.dashboard-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dashboard-banner-card:hover .dashboard-banner-img {
    transform: scale(1.03);
}

.dashboard-banner-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.6rem;
    padding-bottom: 0.8rem;
    padding-left: 0.4rem;
    padding-right: 0.8rem;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.3rem, 1.0vw, 1.45rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111111;
}

.dashboard-banner-caption .banner-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.dashboard-banner-card:hover .dashboard-banner-caption .banner-arrow {
    transform: translate(0.3rem, -0.3rem);
}

/* ==========================================================================
   SECTION 3: ORDERS HISTORY TABLE CARD
   ========================================================================== */

.dashboard-orders-card {
    background-color: #f8f8f8;
    border-radius: 3.0rem;
    padding: clamp(2.8rem, 3.8vw, 4.6rem) clamp(2.4rem, 3.6vw, 4.6rem);
    width: 100%;
}

.dashboard-orders-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.0rem;
    margin-bottom: clamp(2.4rem, 3.2vw, 3.8rem);
}

.orders-card-left {
    max-width: 60rem;
}

.orders-card-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.4rem, 2.6vw, 3.4rem);
    font-weight: 500;
    line-height: 1.2;
    color: #111111;
    margin-top: 0;
    margin-bottom: 0.6rem;
    letter-spacing: -0.015em;
}

.orders-card-subtitle {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.3rem, 0.95vw, 1.45rem);
    font-weight: 400;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

.btn-orders-view-all {
    height: clamp(4.4rem, 3.8vw, 4.8rem);
    padding: 0 clamp(2.4rem, 2.8vw, 3.6rem);
    border-radius: 5rem;
    background-color: #35f3ff !important;
    color: #000000 !important;
    border: none;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.15rem, 0.9vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0.2rem 1.0rem rgba(53, 243, 255, 0.35);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.btn-orders-view-all:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
    box-shadow: 0 0.4rem 1.4rem rgba(53, 243, 255, 0.5);
    color: #000000 !important;
}

.btn-orders-view-all .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-orders-view-all:hover .btn-arrow {
    transform: translate(0.25rem, -0.25rem);
}

/* Orders History Table */
.orders-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 64rem;
}

.orders-table th {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666666;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
}

.orders-table td {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.3rem, 1.0vw, 1.4rem);
    font-weight: 400;
    color: #555555;
    padding: 2.2rem 1.2rem 2.2rem 0;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: middle;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.th-order-num,
.td-order-num {
    width: 12%;
}

.th-order-date,
.td-order-date {
    width: 16%;
}

.th-order-items,
.td-order-items {
    width: 44%;
}

.th-order-total,
.td-order-total {
    width: 14%;
}

.th-order-status,
.td-order-status {
    width: 14%;
    text-align: right;
}

.orders-table th.th-order-status {
    text-align: right;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1;
}

.status-badge .status-star {
    font-size: 1.1rem;
    line-height: 1;
}

.status-delivered {
    color: #10b981;
}

.status-shipped {
    color: #f59e0b;
}

.status-processing {
    color: #3b82f6;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 991.98px) {
    .dashboard-welcome-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.8rem;
    }

    .dashboard-banners-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }
}

@media (max-width: 767.98px) {
    .dashboard-welcome-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .dashboard-stat-row .col-12 {
        margin-bottom: 1.6rem;
    }

    .dashboard-orders-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.6rem;
    }

    .btn-orders-view-all {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .dashboard-welcome-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-dashboard-logout,
    .btn-dashboard-update-pwd {
        width: 100%;
        min-height: 4.6rem;
        height: 4.6rem;
        padding: 1.2rem 2.4rem;
        flex: 0 0 auto;
        box-sizing: border-box;
    }
}
/* In-transit orders: black, using the page's existing text colour (#111111) - same on Orders + Dashboard. */
.status-intransit {
    color: #111111;
}
