/**
 * Account Pages Styles - Trove Theme
 * Premium styling with navy and gold tones
 */

/* Account Layout */
.account-section {
    /* Trove theme variable overrides */
    --color-primary: #000000;
    --color-primary-rgb: 25, 27, 76;
    --color-text: #333;
    --color-text-light: #666;
    --grey-color: #f5f6fb;
    --heading-font: 'Inter', sans-serif;
    --body-font: 'Inter', sans-serif;

    padding: 3rem 0 5rem;
    background: var(--grey-color, #f5f6fb);
    min-height: calc(100vh - 200px);
    font-family: 'Inter', sans-serif;
}

.account-layout {
    display: grid;
    grid-template-columns: 24rem 1fr;
    gap: 2.5rem;
}

@media (max-width: 991px) {
    .account-section {
        padding: 2rem 0 6rem;
    }

    .account-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Account Sidebar */
.account-sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 1.5rem 0;
    height: fit-content;
    position: sticky;
    top: 100px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .account-sidebar {
        position: static;
        border-radius: 12px;
    }
}

.account-nav {
    display: flex;
    flex-direction: column;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.75rem;
    color: var(--color-text, #333);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
    position: relative;
}

.account-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-primary, #000000);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.account-nav-item:hover {
    background: rgba(25, 27, 76, 0.05);
    color: var(--color-primary, #000000);
}

.account-nav-item:hover::before {
    transform: scaleY(1);
}

.account-nav-item.active {
    background: rgba(25, 27, 76, 0.08);
    color: var(--color-primary, #000000);
    font-weight: 600;
}

.account-nav-item.active::before {
    transform: scaleY(1);
}

.account-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.account-nav-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.account-nav-divider {
    border: none;
    border-top: 1px solid rgba(25, 27, 76, 0.1);
    margin: 0.75rem 1.75rem;
}

.account-nav-logout {
    color: #b91c1c;
}

.account-nav-logout:hover {
    background: rgba(185, 28, 28, 0.05);
    color: #b91c1c;
}

.account-nav-logout::before {
    background: #b91c1c;
}

/* Account Main Content */
.account-main {
    min-width: 0;
}

.account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.account-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-text, #333);
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.5px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light, #666);
    text-decoration: none;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.btn-back:hover {
    color: var(--color-primary, #000000);
}

/* Account Cards */
.account-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.account-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(25, 27, 76, 0.1);
    background: rgba(25, 27, 76, 0.02);
}

.account-card-header h3 {
    font-size: 1.625rem;
    font-weight: 600;
    margin: 0;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}

.account-card form {
    padding: 1.25rem 1.5rem;
}

/* Account Welcome Banner */
.account-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--color-primary, #000000) 0%, #000000 100%);
    color: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.account-welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.account-welcome::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.account-welcome-text {
    position: relative;
    z-index: 1;
}

.account-welcome h2 {
    font-size: 2.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.5px;
    color: #fff;
}

.account-welcome p {
    margin: 0;
    opacity: 0.9;
    max-width: 500px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #fff;
}

.account-welcome-icon {
    position: relative;
    z-index: 1;
    opacity: 0.4;
}

.account-welcome-icon svg {
    width: 100px;
    height: 100px;
}

@media (max-width: 767px) {
    .account-welcome {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .account-welcome h2 {
        font-size: 1.5rem;
    }

    .account-welcome-icon {
        display: none;
    }
}

/* Quick Links Grid */
.account-quicklinks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.account-quicklink-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    text-decoration: none;
    color: var(--color-text, #333);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.account-quicklink-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary, #000000);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.account-quicklink-card:hover {
    box-shadow: 0 8px 30px rgba(25, 27, 76, 0.15);
    transform: translateY(-4px);
}

.account-quicklink-card:hover::before {
    transform: scaleX(1);
}

.quicklink-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(25, 27, 76, 0.08);
    border-radius: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.account-quicklink-card:hover .quicklink-icon {
    background: var(--color-primary, #000000);
}

.quicklink-icon svg {
    color: var(--color-primary, #000000);
    width: 26px;
    height: 26px;
    transition: color 0.3s ease;
}

.account-quicklink-card:hover .quicklink-icon svg {
    color: #fff;
}

.quicklink-content {
    flex: 1;
    min-width: 0;
}

.quicklink-content h3 {
    font-size: 1.625rem;
    font-weight: 600;
    margin: 0 0 0.375rem;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}

.quicklink-content p {
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
    margin: 0;
    line-height: 1.4;
}

.quicklink-arrow {
    color: var(--color-text-light, #666);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.account-quicklink-card:hover .quicklink-arrow {
    color: var(--color-primary, #000000);
    transform: translateX(4px);
}

/* Account Section Card */
.account-section-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    overflow: hidden;
}

.account-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(25, 27, 76, 0.1);
    background: rgba(25, 27, 76, 0.02);
}

.account-section-header h3 {
    font-size: 1.625rem;
    font-weight: 600;
    margin: 0;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}

/* Empty States */
.account-empty {
    text-align: center;
    padding: 5rem 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.account-empty-icon {
    color: rgba(25, 27, 76, 0.3);
    margin-bottom: 1.5rem;
}

.account-empty-icon svg {
    width: 80px;
    height: 80px;
}

.account-empty h3 {
    font-size: 2rem;
    margin: 0 0 0.75rem;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}

.account-empty p {
    color: var(--color-text-light, #666);
    margin: 0 0 2rem;
    font-size: 1.5rem;
    line-height: 1.6;
}

.account-empty-inline {
    padding: 2.5rem 1.75rem;
    text-align: center;
}

.account-empty-inline p {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
}

/* Address Grid */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.address-card {
    background: #fff;
    border: 1px solid rgba(25, 27, 76, 0.15);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.address-card:hover {
    box-shadow: 0 8px 25px rgba(25, 27, 76, 0.1);
    border-color: var(--color-primary, #000000);
}

.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    background: rgba(25, 27, 76, 0.04);
    border-bottom: 1px solid rgba(25, 27, 76, 0.1);
}

.address-type-badge {
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    background: rgba(25, 27, 76, 0.1);
    color: var(--color-primary, #000000);
}

.address-type-badge.residential {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.address-type-badge.commercial {
    background: rgba(217, 119, 6, 0.1);
    color: #b45309;
}

.address-card-actions {
    display: flex;
    gap: 0.25rem;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--color-text-light, #666);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: rgba(25, 27, 76, 0.1);
    color: var(--color-primary, #000000);
}

.btn-delete-address:hover {
    background: rgba(185, 28, 28, 0.1);
    color: #b91c1c;
}

.address-card-body {
    padding: 1.25rem;
}

.address-name {
    font-size: 1.625rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}

.address-line {
    font-size: 1.5rem;
    color: var(--color-text, #333);
    margin: 0 0 0.25rem;
    line-height: 1.5;
}

.address-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
    margin: 0.875rem 0 0;
}

.address-gstin {
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
    margin: 0.5rem 0 0;
}

/* Profile Form */
.profile-form,
.password-form,
.address-form-page {
    padding: 1.25rem 1.5rem;
}

.profile-info-readonly {
    padding: 1.25rem 1.75rem;
}

.info-row {
    display: flex;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(25, 27, 76, 0.08);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    width: 200px;
    color: var(--color-text-light, #666);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--color-text, #333);
}

/* Orders Table */
.orders-table-wrapper {
    overflow-x: auto;
}

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

.orders-table th,
.orders-table td {
    padding: 1.125rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(25, 27, 76, 0.1);
}

.orders-table th {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: var(--color-text-light, #666);
    background: rgba(25, 27, 76, 0.04);
    font-family: var(--body-font, 'Inter', sans-serif);
}

.orders-table td {
    font-size: 1.5rem;
}

.orders-table tbody tr {
    transition: background 0.2s ease;
}

.orders-table tbody tr:hover {
    background: rgba(25, 27, 76, 0.02);
}

.orders-table td:last-child {
    text-align: right;
}

.orders-table th:last-child {
    text-align: right;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(217, 119, 6, 0.1);
    color: #b45309;
}

.status-processing {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.status-shipped {
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
}

.status-delivered {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.status-confirmed {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.modal-lg {
    max-width: 600px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid rgba(25, 27, 76, 0.1);
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(25, 27, 76, 0.08);
    font-size: 1.25rem;
    color: var(--color-text-light, #666);
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--color-primary, #000000);
    color: #fff;
}

.modal-body {
    padding: 1.25rem 1.5rem;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 575px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.account-section .form-group {
    margin-bottom: 0.875rem;
}

.account-section .form-label {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text, #333);
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}

.account-section .form-label .required {
    color: #dc2626;
}

.account-section .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
    border: 1px solid rgba(25, 27, 76, 0.2);
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
    font-family: var(--body-font, 'Inter', sans-serif);
}

.account-section .form-input:focus {
    outline: none;
    border-color: var(--color-primary, #000000);
    box-shadow: 0 0 0 3px rgba(25, 27, 76, 0.1);
}

.account-section .form-input:disabled {
    background: rgba(25, 27, 76, 0.04);
    color: var(--color-text-light, #666);
    cursor: not-allowed;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23191b4c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.75rem;
}

.form-hint {
    display: block;
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
    margin-top: 0.5rem;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(25, 27, 76, 0.1);
}

/* Badge */
.badge {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--color-primary, #000000);
    color: #fff;
}

/* Button Overrides */
.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 1.5rem;
    border-radius: 6px;
}

.account-section .btn-link {
    color: var(--color-primary, #000000);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.account-section .btn-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ========================================
   Orders List Styles
   ======================================== */

.account-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.order-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: 0 8px 30px rgba(25, 27, 76, 0.12);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.5rem;
    background: rgba(25, 27, 76, 0.04);
    border-bottom: 1px solid rgba(25, 27, 76, 0.1);
}

.order-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.order-number {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}

.order-date {
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
}

.order-card-body {
    padding: 1.25rem 1.5rem;
}

.order-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-items {
    color: var(--color-text-light, #666);
    font-size: 1.5rem;
}

.order-total {
    font-size: 1.75rem;
    font-weight: 600;
    color: #F4AF2D;
    font-family: var(--heading-font, 'Inter', sans-serif);
}

.order-card-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(25, 27, 76, 0.08);
    background: rgba(25, 27, 76, 0.02);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1.5rem;
    color: var(--color-primary, #000000);
    text-decoration: none;
    border: 1px solid var(--color-primary, #000000);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-link:hover {
    background: var(--color-primary, #000000);
    color: #fff;
}

.pagination-info {
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
}

/* ========================================
   Order Detail Styles
   ======================================== */

.order-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.order-detail-info {
    flex: 1;
}

.order-detail-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin: 0 0 0.375rem;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.5px;
}

.order-detail-date {
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
    margin: 0;
}

.order-detail-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-lg {
    font-size: 1.25rem;
    padding: 0.625rem 1.5rem;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 991px) {
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

.order-detail-main,
.order-detail-sidebar {
    min-width: 0;
}

.item-count {
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
    font-weight: 400;
}

/* Order Items List */
.order-items-list {
    padding: 0 1.75rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(25, 27, 76, 0.08);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 0.375rem;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}

.order-item-name a {
    color: var(--color-text, #333);
    text-decoration: none;
    transition: color 0.2s ease;
}

.order-item-name a:hover {
    color: var(--color-primary, #000000);
}

.order-item-price {
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
    margin: 0;
}

.order-item-total {
    font-weight: 600;
    white-space: nowrap;
    font-size: 1.5rem;
    color: #F4AF2D;
}

/* Order Summary Sidebar */
.order-summary-body,
.order-info-body {
    padding: 1.25rem 1.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0;
    font-size: 1.5rem;
}

.summary-total {
    border-top: 1px solid rgba(25, 27, 76, 0.15);
    margin-top: 0.75rem;
    padding-top: 1rem;
    font-size: 1.625rem;
    font-weight: 600;
}

.summary-total span:last-child {
    color: #F4AF2D;
}

.info-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.375rem;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}

.info-text {
    font-size: 1.5rem;
    color: var(--color-text, #333);
    margin: 0 0 0.25rem;
    line-height: 1.6;
}

.info-small {
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
    margin: 0.5rem 0 0;
}

.info-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--color-text-light, #666);
    margin: 0.625rem 0 0;
}

/* Buttons in Account Section */
.account-section .btn,
.account-section button[type="submit"] {
    font-family: var(--body-font, 'Inter', sans-serif);
}

.account-section .btn-primary,
.account-section button[type="submit"]:not(.btn-icon) {
    background: var(--color-primary, #000000);
    border-color: var(--color-primary, #000000);
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.account-section .btn-primary:hover,
.account-section button[type="submit"]:not(.btn-icon):hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(25, 27, 76, 0.3);
}

.account-section .btn-outline,
.account-section .btn-secondary {
    background: transparent;
    border: 1px solid rgba(25, 27, 76, 0.3);
    color: var(--color-primary, #000000);
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-size: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.account-section .btn-outline:hover,
.account-section .btn-secondary:hover {
    background: rgba(25, 27, 76, 0.08);
    border-color: var(--color-primary, #000000);
}

/* Mobile Footer Bar Spacing */
@media (max-width: 991px) {
    .account-section {
        padding-bottom: calc(80px + 2rem);
    }
}

/* Scrollbar Styling for Account Section */
.account-section ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.account-section ::-webkit-scrollbar-track {
    background: rgba(25, 27, 76, 0.05);
    border-radius: 3px;
}

.account-section ::-webkit-scrollbar-thumb {
    background: rgba(25, 27, 76, 0.2);
    border-radius: 3px;
}

.account-section ::-webkit-scrollbar-thumb:hover {
    background: rgba(25, 27, 76, 0.3);
}

/* Add New Address Card */
.address-card-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(25, 27, 76, 0.04);
    border: 2px dashed rgba(25, 27, 76, 0.2);
    border-radius: 14px;
    padding: 2.5rem 1.5rem;
    text-decoration: none;
    color: var(--color-primary, #000000);
    transition: all 0.3s ease;
    min-height: 180px;
}

.address-card-add:hover {
    background: rgba(25, 27, 76, 0.08);
    border-color: var(--color-primary, #000000);
}

.address-card-add svg {
    width: 40px;
    height: 40px;
    opacity: 0.6;
}

.address-card-add span {
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--heading-font, 'Inter', sans-serif);
    letter-spacing: 0.3px;
}
