/* ========================================
   ADVANCED CUSTOM CSS - OPTIMIZED VERSION
   Addresses, Orders, Profile & Loyalty Pages
   ======================================== */

/* ----------------------------------------
   CSS VARIABLES (Root Level)
   ---------------------------------------- */
:root {
    --body-color: #fbfaf9;
    --dark-color: #000000;
    --secondary-color: #593921;
    --primary-color: #281d15;
    --extra-color-1: #fbfaf9;
    --extra-color-2: #ffffff;
    --extra-color-3: #7a6352;
    --extra-color-4: #4b2f1a;
    --header-bg: #f3f3f3;
    --nav-color: #5c5c5c;
    --extra-color-5: #2c2c2c;
    --extra-color-6: #4b423b;
    --extra-color-7: #0f0f0f;
    --extra-color-8: #858586;
    --extra-color-9: #020c2f;
    --extra-color-10: #41ca8b;
    --extra-color-11: #6c757d;
    --extra-color-12: #495057;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-success: linear-gradient(135deg, #28a745 0%, var(--extra-color-10) 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #fef9f5 100%);
    --gradient-checked: linear-gradient(135deg, #593921 0%, #281d15 100%);
    --gradient-warning: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    --gradient-danger: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    --gradient-info: linear-gradient(135deg, #17a2b8 0%, #0d6efd 100%);
    --gradient-table-header: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --gradient-gold: linear-gradient(135deg, #593921 0%, #593921 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(89, 57, 33, 0.15);
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s ease;
}

/* ----------------------------------------
   GLOBAL & UTILITY CLASSES
   ---------------------------------------- */
.extra-color-1 {
    color: #ffff;
}

.header-bg {
    background-color: var(--header-bg);
}

.btn,
.icon-badge {
    color: #fff !important;
}

/* Profile Tabs & Wrappers */
.profile-tabs-content {
    background: linear-gradient(135deg, #f6e8ff47 0%, #fef9f5 100%);
    border-radius: 24px;
    backdrop-filter: blur(2px);
    transition: var(--transition-smooth);
}

.my-address-wrapper,
.my-orders-wrapper,
.my-profile-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

/* Profile Top Text (used on multiple pages) */
.profile-top-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.profile-top-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: widthExpand 0.6s ease-out;
}

/* ----------------------------------------
   BUTTON STYLES (Unified)
   ---------------------------------------- */
.btn.read-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.btn.read-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.btn.read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(89, 57, 33, 0.3);
}

.btn.read-btn:hover::before {
    left: 100%;
}

/* ----------------------------------------
   ADDRESS SECTION STYLES
   ---------------------------------------- */
.single-address {
    cursor: pointer;
    display: block;
    transition: var(--transition-smooth);
    animation: slideInRight 0.5s ease-out forwards;
    opacity: 0;
}

.single-address:nth-child(1) {
    animation-delay: 0.1s;
}

.single-address:nth-child(2) {
    animation-delay: 0.2s;
}

.single-address:hover {
    transform: translateY(-5px);
}

.address-data {
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
    background-image: url("../img/check-icon.svg");
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
    background-size: 24px;
    border-radius: 20px;
    background-color: var(--extra-color-2);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.single-address input:checked~.address-data {
    background-image: url("../img/checked.svg"), var(--gradient-checked);
    background-position: top 20px right 20px, center;
    background-repeat: no-repeat, no-repeat;
    background-size: 24px, cover;
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: pulse 0.5s ease-out;
}

.single-address input:checked~.address-data span,
.single-address input:checked~.address-data hr,
.single-address input:checked~.address-data a i,
.single-address input:checked~.address-data .address___settings a i {
    color: white !important;
}

.single-address input:checked~.address-data hr {
    background: rgba(255, 255, 255, 0.3);
}

.single-address input:checked~.address-data .heading-semibold {
    background: rgba(255, 255, 255, 0.2);
}

.single-address input:checked~.address-data .level-8 {
    color: rgba(255, 255, 255, 0.9);
}

/* Address Settings Icons */
.address___settings {
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.address-data:hover .address___settings {
    opacity: 1;
}

.address___settings a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: var(--transition-smooth);
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.address___settings a:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.1);
}

.address___settings a:hover i {
    transform: rotate(15deg);
}

/* Address Type Badge */
.single-address .heading-semibold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(89, 57, 33, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.address-data .level-8 {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--extra-color-6);
}

.address-data hr {
    margin: 1rem 0;
    opacity: 0.2;
    background: var(--extra-color-6);
    height: 1px;
    border: none;
}

/* ----------------------------------------
   LOYALTY POINTS & CARDS
   ---------------------------------------- */
.loyalty____points____wrap {
    border-radius: 20px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(89, 57, 33, 0.1);
    backdrop-filter: blur(10px);
}

.loyalty____points____wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.loyalty____points____wrap:hover::before {
    transform: scaleX(1);
}

.loyalty____points____wrap:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.loyalty___icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(89, 57, 33, 0.1) 0%, rgba(40, 29, 21, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.loyalty____points____wrap:hover .loyalty___icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(89, 57, 33, 0.2) 0%, rgba(40, 29, 21, 0.1) 100%);
}

.loyalty___icon img {
    width: 32px;
    height: 32px;
    transition: var(--transition-smooth);
}

.loyalty____points____wrap:hover .loyalty___icon img {
    transform: scale(1.1);
}

.loyalty___pricing h5 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--extra-color-11);
    margin-bottom: 0.5rem;
}

.loyalty___pricing h4 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0;
    animation: countUp 0.6s ease-out;
}

.loyalty___pricing a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.loyalty___pricing a::after {
    content: '→';
    transition: var(--transition-smooth);
}

.loyalty___pricing a:hover::after {
    transform: translateX(5px);
}

/* ----------------------------------------
   ORDERS TABLE & BADGES
   ---------------------------------------- */
.order-table-wrapper {
    background: #fff9f5;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    margin-top: 2rem;
}

.order-table-wrapper thead {
    background: #583822;
}

.order-table-wrapper td {
    vertical-align: middle;
    border: 0;
}

.order-table-wrapper tbody tr {
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    animation: slideInLeft 0.5s ease-out forwards;
    opacity: 0;
}

.order-table-wrapper tbody tr:nth-child(1) {
    animation-delay: 0.1s;
}

.order-table-wrapper tbody tr:nth-child(2) {
    animation-delay: 0.2s;
}

.order-table-wrapper tbody tr:nth-child(3) {
    animation-delay: 0.3s;
}

.order-table-wrapper tbody tr:nth-child(4) {
    animation-delay: 0.4s;
}

.order-table-wrapper tbody tr:nth-child(5) {
    animation-delay: 0.5s;
}

.order-table-wrapper tbody tr:hover {
    background: linear-gradient(90deg, rgba(89, 57, 33, 0.02) 0%, rgba(89, 57, 33, 0.05) 100%);
    transform: scale(1.01);
}

.order-table-wrapper tbody tr::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-smooth);
}

.order-table-wrapper tbody tr:hover::after {
    width: 100%;
}

.order-table-wrapper tbody td {
    padding: 1rem 0.75rem;
}

/* Product Image */
.order-table-wrapper tbody td:first-child figure {
    width: 50px;
    height: 50px;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.order-table-wrapper tbody tr:hover td:first-child figure {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Payment & Delivery Badges */
.payment-paid,
.delivery-delivered {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-success);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.payment-pending,
.delivery-processing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-warning);
    color: #000;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.payment-failed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-danger);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.delivery-shipped {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-info);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Redeem Badge */
.redeem-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.redeem-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.redeem-badge:hover::before {
    width: 100%;
    height: 100%;
}

.redeem-badge:not(.redeem-active) {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.redeem-active {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
    animation: pulse 2s infinite;
}

/* ----------------------------------------
   PROFILE SECTION STYLES
   ---------------------------------------- */
span.badge-custom.badge-success {
    background: linear-gradient(135deg, #28a745 0%, var(--extra-color-10) 100%);
    padding: 10px;
    border-radius: 50px;
    color: #fff;
}

.order-table {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.order-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.order-table thead th {
    padding: 1rem;
    font-weight: 600;
    border: none;
}

.order-table tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.order-table tbody tr:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-sm);
}

/* Product Image Animation */
.product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-image:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: var(--shadow-md);
}

/* Price Summary Card */
.price-summary-card {

    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.price-summary-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(89, 57, 33, 0.05) 0%, rgba(89, 57, 33, 0) 70%);
    pointer-events: none;
}

.profile-text-wrapper {
    background: unset !important;
    border-radius: 20px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(89, 57, 33, 0.08);
    height: 100%;
    animation: slideInRight 0.5s ease-out forwards;
    opacity: 0;
}

.profile-text-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.profile-text-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.profile-text-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

.profile-text-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}

.profile-text-wrapper:nth-child(5) {
    animation-delay: 0.5s;
}

.profile-text-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition-smooth);
}

.profile-text-wrapper:hover::before {
    transform: scaleY(1);
}

.profile-text-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(89, 57, 33, 0.2);
    backdrop-filter: blur(10px);
}

.profile-text-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(89, 57, 33, 0.03) 0%, rgba(89, 57, 33, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.profile-text-wrapper:hover::after {
    width: 150px;
    height: 150px;
}

.profile-information h5 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--extra-color-11);
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile-information h6 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0;
    word-break: break-word;
}

.password___wrap {
    background: rgba(89, 57, 33, 0.03);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.password___wrap:hover {
    background: rgba(89, 57, 33, 0.05);
}

.password___wrap h6 {
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--extra-color-8);
}

.password___wrap a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-smooth);
}

.password___wrap a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.password___wrap a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.password___wrap a:hover::after {
    width: 100%;
}

/* ----------------------------------------
   MODAL & DELETE STYLES
   ---------------------------------------- */
.delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.delete-modal.active {
    opacity: 1;
    visibility: visible;
}

.delete-modal-content {
    background: var(--extra-color-2);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
}

.delete-modal.active .delete-modal-content {
    transform: scale(1);
}

.address-deleting {
    animation: fadeOut 0.3s ease-out forwards;
}

/* ----------------------------------------
   HR DIVIDER
   ---------------------------------------- */
hr {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    height: 2px;
    border: none;
    margin: 2rem 0;
    opacity: 0.3;
    position: relative;
}

hr::before {
    content: '★';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--extra-color-2);
    color: var(--secondary-color);
    padding: 0 10px;
    font-size: 12px;
}

/* ----------------------------------------
   ANIMATIONS (Keyframes)
   ---------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes widthExpand {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* ----------------------------------------
   TOOLTIP STYLES
   ---------------------------------------- */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 5px;
    pointer-events: none;
}

/* ----------------------------------------
   SCROLLBAR STYLES
   ---------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--extra-color-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.address___settings {
    position: relative;
    left: -10px;
    bottom: 7px;
}

/* ----------------------------------------
   RESPONSIVE DESIGN
   ---------------------------------------- */
@media (max-width: 768px) {
    .profile-top-text {
        flex-direction: column;
        gap: 1rem;
    }

    .profile-top-text h3 {
        font-size: 1.5rem;
    }

    .btn.read-btn {
        align-self: flex-start;
    }

    .address-data {
        padding: 1rem !important;
    }

    .address___settings {
        opacity: 1;
    }

    .address-list {
        gap: 1rem;
    }

    .loyalty____points____wrap {
        margin-bottom: 1rem;
    }

    .loyalty___pricing h4 {
        font-size: 1.5rem;
    }

    .profile-text-wrapper {
        padding: 1.25rem;
    }

    .password___wrap {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    .profile-information h5 {
        font-size: 0.75rem;
    }

    .profile-information h6 {
        font-size: 0.875rem;
    }

    /* Table responsive */
    .order-table-wrapper thead {
        display: none;
    }

    .order-table-wrapper tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        padding: 1rem;
    }

    .order-table-wrapper tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border: none;
        text-align: right;
    }

    .order-table-wrapper tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary-color);
        margin-right: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .address-list {
        gap: 1.25rem;
    }

    .profile-text-wrapper {
        padding: 1.25rem;
    }

    .profile-information h6 {
        font-size: 0.9rem;
    }

    .order-table-wrapper tbody td {
        padding: 0.75rem;
        font-size: 0.75rem;
    }

    .btn.read-btn {
        padding: 4px 12px;
        font-size: 0.7rem;
    }
}

/* ----------------------------------------
   PRINT STYLES
   ---------------------------------------- */
@media print {

    .btn.read-btn,
    .address___settings,
    .order-filters,
    .password___wrap a {
        display: none;
    }

    .address-data {
        border: 1px solid #ddd;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .single-address input:checked~.address-data {
        background: none;
        color: black;
    }

    .order-table-wrapper {
        box-shadow: none;
        padding: 0;
    }

    .order-table-wrapper tbody tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .profile-text-wrapper {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    hr::before {
        display: none;
    }
}

/* ----------------------------------------
   DARK MODE SUPPORT
   ---------------------------------------- */
@media (prefers-color-scheme: dark) {
    :root {
        --extra-color-2: #1a1a1a;
        --body-color: #121212;
        --extra-color-1: #1e1e1e;
    }

    .address-data {
        background-color: #1a1a1a;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .address-data .level-8 {
        color: #e0e0e0;
    }

    .delete-modal-content {
        background: #1a1a1a;
        color: white;
    }

    .profile-text-wrapper {
        background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    }

    hr::before {
        background: #1a1a1a;
    }
}

.address-data {
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
    background-image: url("../img/check-icon.svg");
    background-position: top 20px right 20px;
    background-repeat: no-repeat;
    background-size: 24px;
    border-radius: 20px;
    background-color: var(--extra-color-2);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
}