/*your custom css goes here*/
.aiz-file-box {
    position: relative;
}

.aiz-user-panel {
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding-left: 10px;
}

/* --- Happy Stories Section --- */
.modern-happy-stories {
    background: linear-gradient(135deg, #f8fafc 0%, #fff1f2 100%);
    position: relative;
    overflow: hidden;
}

.modern-happy-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(225, 29, 72, 0.05);
    height: 100%;
}

.modern-happy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.1), 0 10px 10px -5px rgba(225, 29, 72, 0.04);
    border-color: rgba(225, 29, 72, 0.2);
}

.story-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-happy-card:hover .story-img {
    transform: scale(1.1);
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(225, 29, 72, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-happy-card:hover .story-overlay {
    opacity: 1;
}

.heart-icon {
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #e11d48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modern-happy-card:hover .heart-icon {
    transform: scale(1);
}

.story-content h3 {
    transition: color 0.3s ease;
}

.modern-happy-card:hover .story-content h3 {
    color: #be123c !important;
}


.aiz-file-box .dropdown-file {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 20;
    /* Increased z-index */
    display: block !important;
    /* Force display */
}

.aiz-file-box .dropdown-link {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.2s;
}

.aiz-file-box .dropdown-link:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

.aiz-file-box .dropdown-menu {
    border: 1px solid #ebedf2;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.8rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 0.25rem;
}

.aiz-file-box .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.aiz-file-box .dropdown-item:hover,
.aiz-file-box .dropdown-item:focus {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

.aiz-file-box .card-file-thumb {
    overflow: hidden;
    /* Ensure image doesn't overflow covering the icon */
}

/* --- NEW Premium Header Redesign (v2) --- */
:root {
    --header-height: 80px;
    --primary-grad: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    --primary-grad-hover: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    --header-bg: rgba(255, 255, 255, 0.82);
    --header-border: rgba(255, 255, 255, 0.4);
    --nav-color: #475569;
    --nav-color-hover: #e11d48;
}

.modern-header {
    background: rgb(225 29 72) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--header-border) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

/* Base link setup */
.modern-nav-link {
    position: relative;
    padding: 0.6rem 1.1rem !important;
    margin: 0 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
}

.modern-nav-text {
    font-weight: 600;
    font-size: 0.92rem;
    color: #ffffff;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.modern-nav-link:hover {
    background-color: rgba(225, 29, 72, 0.06) !important;
}

.modern-nav-link:hover .modern-nav-text,
.active-nav-item .modern-nav-text {
    color: #f3f2f2 !important;
}

/* Premium Indicator for Active Item */
.active-nav-item .modern-nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--nav-color-hover);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.5);
}

/* --- Auth Buttons --- */
.btn-tw-primary {
    background: #be123c91 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    /* padding: 10px 24px !important; */
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25) !important;
    white-space: nowrap;
}

.btn-tw-primary:hover {
    transform: translateY(-2.5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.35) !important;
    color: #ffffff !important;
}

.link-tw-secondary {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 8px 16px;
    transition: color 0.3s ease;
}

.link-tw-secondary:hover {
    color: var(--nav-color-hover) !important;
}

/* User Actions - Search, Bell, Envelop */
.header-icon-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    color: #64748b !important;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.header-icon-link:hover {
    background: #fff1f2;
    color: #e11d48 !important;
    transform: translateY(-2px);
    border-color: #ffe4e6;
}

.header-logo.py-2 {
    width: 300px !important;
}

.btn-soft-warning {
    background-color: rgb(225 29 72) !important;
    color: #ffffff !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

/* Dropdown Menu - Premium Polish */
.modern-header .dropdown-menu,
.member-toolbar .dropdown-menu {
    border-radius: 20px !important;
    border: 1px solid var(--header-border) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
    padding: 8px !important;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95) !important;
    animation: headerDropdown 0.25s ease-out;
    margin-top: 10px !important;
}

@keyframes headerDropdown {
    from {
        opacity: 0;
        margin-top: 25px !important;
    }

    to {
        opacity: 1;
        margin-top: 10px !important;
    }
}

.dropdown-item {
    border-radius: 12px !important;
    padding: 10px 15px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f8fafc !important;
    color: #e11d48 !important;
    padding-left: 20px !important;
}

/* Mobile Toggler */
.modern-toggler {
    width: 30px;
    height: 30px;
    margin: 2px;
    border-radius: 12px !important;
    background: #f8fafc00 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

i.las.la-bars.la-2x.text-primary {
    color: #ffffff !important;
    width: 25px !important;
}

.modern-toggler:hover {
    background: #fff1f200 !important;
}

/* --- Mobile Version Styles --- */
@media (max-width: 991px) {
    .modern-header {
        height: 72px;
    }

    .mobile-collapse-nav {
        background: #ffffff !important;
        border-radius: 20px !important;
        padding: 16px !important;
        margin: 0 !important;
        /* Removed margin-top to fix blink */
        border: 1px solid #f1f5f9 !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s ease;
    }

    .collapse.show .mobile-collapse-nav {
        opacity: 1;
        transform: translateY(0);
    }

    /* Extra spacing for the container to replace the margin-top */
    #mainMenu .container {
        padding-top: 15px;
        padding-bottom: 25px;
    }

    .mobile-collapse-nav .modern-nav-link {
        background: #0505054f !important;
        margin-bottom: 8px !important;
        text-align: left !important;
        padding: 12px 16px !important;
        border: 1px solid transparent !important;
    }

    .mobile-collapse-nav .active-nav-item .modern-nav-link {
        background: #fff1f2 !important;
        border: 1px solid #ffe4e6 !important;
    }

    .mobile-collapse-nav .active-nav-item .modern-nav-text {
        color: #e11d48 !important;
    }

    .mobile-collapse-nav .modern-nav-text {
        font-size: 15px !important;
    }
}

/* WhatsApp Helpline Pill */
.modern-helpline {
    background: #f0fdf4;
    color: #2d3643 !important;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid #dcfce7;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.modern-helpline:hover {
    background: #dcfce7;
    transform: scale(1.02);
}

.modern-helpline i {
    font-size: 1.1rem;
    color: #22c55e;
}

.shadow-sm {
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px !important;
}

.row.align-items-center.gutters-0.text-center {
    padding-left: 10px;
    padding-right: 10px;
}

.pb-5,
.py-5 {
    padding-bottom: 3rem !important;
}

.pt-5,
.py-5 {
    padding-top: 2rem !important;
}

.pb-3,
.py-3 {
    padding-bottom: 1rem !important;
    padding-top: 2rem;
}

/* Modern Badge Pulse for Header Notifications */
.badge-status {
    box-shadow: 0 0 0 2px #fff;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(225, 29, 72, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

/* --- Premium Member Section --- */
.modern-premium-section {
    background: linear-gradient(135deg, #ffffff 0%, #ffe7e9 100%);
    position: relative;
    overflow: hidden;
}

.modern-premium-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.modern-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: #ffe7e9;
    color: #be123c;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.1);
}

.modern-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #111827 0%, #e11d48 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -0.02em;
}

.modern-section-subtitle {
    font-size: 1.15rem;
    color: #475569;
    margin-top: 0.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.premium-carousel-wrapper {
    position: relative;
    z-index: 1;
    padding: 1rem 0;
}

/* Enhancing the Member Box inside the Premium Section */
.modern-premium-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    background: #fff;
    border: 1px solid rgba(225, 29, 72, 0.1);
}

.modern-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.15), 0 10px 10px -5px rgba(225, 29, 72, 0.04);
    border-color: rgba(225, 29, 72, 0.3);
}

.modern-premium-card .rounded.border {
    border: none !important;
    /* override default border */
}

.premium-badge-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.4);
    z-index: 10;
}

.modern-carousel .slick-dots li button:before {
    font-size: 12px;
    color: #fda4af;
}

.modern-carousel .slick-dots li.slick-active button:before {
    color: #e11d48;
}

/* --- Stylish Member Card --- */
.stylish-member-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(225, 29, 72, 0.08);
}

.stylish-member-card:hover {
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.1), 0 10px 10px -5px rgba(225, 29, 72, 0.04);
    transform: translateY(-5px);
}

.stylish-member-card .member-card-img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.stylish-member-card:hover .member-card-img {
    transform: scale(1.05);
}

.stylish-member-card .card-details-wrapper {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-top: 2px solid #ffe7e9;
}

.stylish-member-card .view-profile-btn {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff !important;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.15);
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.stylish-member-card .view-profile-btn:hover {
    background: linear-gradient(135deg, #be123c, #9f1239);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
    color: #ffffff !important;
}

.stylish-member-card h5 {
    color: #111827 !important;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    font-weight: 700;
}

.stylish-member-card:hover h5 {
    color: #e11d48 !important;
}

/* Ensure modern premium container styling doesn't double border/shadow */
.modern-premium-card .stylish-member-card {
    border: none;
    box-shadow: none;
}

.modern-premium-card .stylish-member-card:hover {
    transform: none;
    box-shadow: none;
}

.modern-premium-card .card-details-wrapper {
    border-top: none;
}

/* --- How It Works Section --- */
.modern-how-it-works {
    background: #f8fafc;
}

.modern-how-it-works .connecting-line {
    position: absolute;
    top: 35%;
    left: 10%;
    right: 10%;
    height: 2px;
    background-image: linear-gradient(to right, #ffe4e6 50%, transparent 50%);
    background-size: 20px 100%;
    z-index: 0;
}

.how-it-works-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    border: 1px solid rgba(225, 29, 72, 0.05);
}

.how-it-works-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.1), 0 10px 10px -5px rgba(225, 29, 72, 0.04);
    border-color: rgba(225, 29, 72, 0.2);
}

.how-it-works-card .step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
    border: 4px solid #f8fafc;
}

.how-it-works-card .icon-wrapper {
    width: 120px;
    height: 120px;
    background: #fff1f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 1rem;
    margin-top: 20px;
}

.how-it-works-card:hover .icon-wrapper {
    background: #ffe4e6;
    transform: scale(1.05);
}

.how-it-works-card .step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.how-it-works-card .step-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.how-it-works-card .animated-icon {
    transition: transform 0.4s ease;
}

.how-it-works-card:hover .animated-icon {
    transform: rotate(5deg) scale(1.1);
}

/* --- Trusted by Millions Section --- */
.modern-trusted-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-radius: 50px;
    /* background: linear-gradient(180deg, #f9f7f8 0%, #e11d4800 50%, #f43f5e 100%); */
    position: relative;
    overflow: hidden;
}

.modern-trusted-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.modern-trusted-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.trusted-badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    text-transform: uppercase;
    font-weight: 600;
}

.trusted-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.trusted-section-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* --- New Member Section --- */
.modern-new-member-section {
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.modern-new-member-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    background: #fff;
    border: 1px solid rgba(16, 185, 129, 0.1);
    /* Slight green tint border */
}

.modern-new-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.15), 0 10px 10px -5px rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.3);
}

.modern-new-member-card .stylish-member-card {
    border: none;
    box-shadow: none;
}

.modern-new-member-card .stylish-member-card:hover {
    transform: none;
    box-shadow: none;
}

.modern-new-member-card .card-details-wrapper {
    border-top: none;
}

.new-badge-indicator {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #10b981;
    /* Emerald green for "New" */
    color: white;
    padding: 0.3rem 1rem 0.3rem 2rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
}

.pulse-ring {
    content: '';
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    left: 10px;
    animation: pulsate 1.5s infinite;
}

@keyframes pulsate {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* --- Premium Packages Section --- */
.modern-packages-section {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.modern-package-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(225, 29, 72, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-package-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(225, 29, 72, 0.15);
    border-color: rgba(225, 29, 72, 0.2);
}

.modern-package-card.featured-package {
    border: 2px solid #e11d48;
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.1), 0 10px 10px -5px rgba(225, 29, 72, 0.04);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #fff;
    padding: 0.5rem 3rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: rotate(45deg);
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.3);
    z-index: 10;
}

.package-header {
    margin-bottom: 1.25rem;
    position: relative;
}

.package-icon {
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.package-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.package-price-wrapper {
    background: #fff1f2;
    border-radius: 16px;
    padding: 0.75rem;
    display: inline-block;
    min-width: 130px;
}

.featured-package .package-price-wrapper {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: white;
}

.package-price {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #e11d48;
}

.featured-package .package-price {
    color: white;
}

.package-duration {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-package .package-duration {
    color: rgba(255, 255, 255, 0.8);
}

.package-body {
    flex-grow: 1;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 0.9rem;
    color: #475569;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    font-size: 1.15rem;
    margin-right: 0.5rem;
    margin-top: 2px;
}

.package-btn {
    background: #f1f5f9;
    color: #475569 !important;
    border-radius: 9999px;
    padding: 0.8rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.modern-package-card:hover .package-btn {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff !important;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
}

.featured-package .package-btn {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff !important;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
}

.featured-package:hover .package-btn {
    background: linear-gradient(135deg, #be123c, #9f1239);
}

.package-btn.btn-disabled {
    background: #f8fafc;
    color: #94a3b8 !important;
    cursor: not-allowed;
}

.modern-package-card:hover .package-btn.btn-disabled {
    background: #f8fafc;
    color: #94a3b8 !important;
    box-shadow: none;
}

.modern-trusted-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

span.badge.badge-info.mt-2 {
    background-color: #2eb8c9;
    width: fit-content;
}

.modern-trusted-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 40px rgba(225, 29, 72, 0.2);
}

.trusted-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.8), rgba(190, 18, 60, 0.8));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.modern-trusted-card:hover .trusted-icon-wrapper {
    transform: rotate(5deg) scale(1.1);
    background: linear-gradient(135deg, rgba(225, 29, 72, 1), rgba(190, 18, 60, 1));
}

/* --- Modern Review Section --- */
.modern-review-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-attachment: fixed;
}

.modern-review-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin: 15px 0;
    transition: transform 0.3s ease;
}

.modern-review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.reviewer-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    border: 3px solid #e11d48;
    padding: 3px;
    background: #fff;
    margin-top: -65px;
    position: relative;
    z-index: 2;
}

.review-text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    padding: 0 1rem;
}

.quote-icon-top,
.quote-icon-bottom {
    position: absolute;
    font-size: 4rem;
    color: rgba(225, 29, 72, 0.2);
    z-index: 0;
}

.quote-icon-top {
    top: 20px;
    left: 30px;
}

.quote-icon-bottom {
    bottom: 20px;
    right: 30px;
}

.modern-review-carousel .slick-arrow {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 10 !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px !important;
    /* Reset slick's font-size: 0 */
    color: #fff !important;
    /* Reset slick's color: transparent */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.modern-review-carousel .slick-arrow::before {
    display: none !important;
    /* Hide slick's default text/icons */
    content: '' !important;
}

.modern-review-carousel .slick-arrow i {
    font-size: 24px !important;
    color: #ffffff !important;
    display: block !important;
    line-height: 1 !important;
}

.modern-review-carousel .slick-arrow:hover {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    color: white !important;
}

.modern-review-carousel .slick-next {
    right: -20px !important;
}

.modern-review-carousel .slick-prev {
    left: -20px !important;
}

/* --- Modern Blog Section --- */
.modern-blog-section {
    background-color: #ffffff;
}

.modern-blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.modern-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.1);
    border-color: rgba(225, 29, 72, 0.1);
}

.blog-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-blog-card:hover .blog-img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e11d48;
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.blog-date {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.blog-date .day {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.blog-date .month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #e11d48;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-title a {
    color: #111827;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #e11d48;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e11d48;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.read-more-link:hover {
    color: #be123c;
    gap: 5px;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

.btn-modern-gradient {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff !important;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
    font-weight: 700;
}

.btn-modern-gradient:hover {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.4);
    color: #ffffff !important;
}

/* --- Modern App Download Section --- */
.modern-app-box {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    border-radius: 40px;
    box-shadow: 5px 6px 15px 10px rgb(225 29 72 / 11%);
}

.app-glass-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    z-index: 0;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 25%;
    background: rgba(255, 255, 255, 0.05);
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 5%;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

.highlight-text {
    color: #ffe4e6;
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 550px;
}

.qr-container {
    background: #ffffff;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.qr-container:hover {
    transform: scale(1.05);
}

.qr-image {
    width: 100px;
    height: 100px;
    display: block;
    margin-bottom: 5px;
}

.qr-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
}

.play-store-btn {
    display: block;
    transition: transform 0.3s ease;
}

.play-store-btn:hover {
    transform: translateY(-5px);
}

.play-store-btn img {
    height: 55px;
}

/* --- Modern Trusted Section Redesign --- */
.modern-trusted-box {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(225, 29, 72, 0.25);
}

.trusted-glass-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    z-index: 0;
}

.trusted-glass-circle.circle-1 {
    width: 300px;
    height: 300px;
    top: 50px;
    right: 60px;
}

.trusted-glass-circle.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: 60px;
}

.trusted-glass-circle.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 40%;
    right: 15%;
    opacity: 0.5;
}

.trusted-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trusted-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

.trusted-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

.modern-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.modern-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .trusted-title {
        font-size: 2.2rem;
    }
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.stats {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.mockup-container {
    position: relative;
    height: 450px;
    margin-top: 50px;
}

.phone-mockup {
    position: absolute;
    bottom: -20px;
    border: 8px solid #111827;
    border-bottom: none;
    border-radius: 32px 32px 0 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-1 {
    width: 240px;
    height: 440px;
    left: 0;
    z-index: 2;
    background: #000;
}

.phone-2 {
    width: 210px;
    height: 380px;
    right: 40px;
    bottom: -20px;
    z-index: 1;
    opacity: 0.8;
    background: #000;
}

@media (max-width: 991px) {
    .app-title {
        font-size: 2.2rem;
    }

    .mockup-container {
        height: auto;
        display: none;
    }
}

/* --- Integrated Modern Header Styles --- */
.modern-top-link,
.modern-helpline {
    font-size: 13px;
    font-weight: 500;
    color: #64748b !important;
    transition: all 0.3s ease;
}

.modern-top-link:hover {
    color: #e11d48 !important;
    opacity: 1 !important;
}

.modern-helpline i {
    color: #e11d48;
    font-size: 16px;
}

.header-user-actions {
    border-left: 1px solid #f1f5f9;
    padding-left: 1rem;
}

.header-icon-link {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 50%;
    color: #64748b !important;
    transition: all 0.3s ease;
}

.header-icon-link:hover {
    background: #ffe4e6;
    color: #e11d48 !important;
}

.header-icon-link i {
    font-size: 1.25rem;
}

.header-icon-link .badge-status {
    top: 6px !important;
    right: 6px !important;
    border: 2px solid #fff;
}

/* User Profile Image inside Header */
.header-user-actions img {
    object-fit: cover;
    transition: border-color 0.3s ease;
}

.header-user-actions img:hover {
    border-color: #e11d48 !important;
}

/* Dropdown Menu Enhancements */
.dropdown-menu.shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    margin-top: 10px !important;
}

.dropdown-item {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #fff1f2 !important;
    color: #e11d48 !important;
}

.dropdown-item:hover i {
    color: #e11d48 !important;
}

.dropdown-item i {
    font-size: 1.1rem;
}

/* Auth Buttons */
.link-tw-secondary {
    font-weight: 600;
    color: #64748b;
    transition: color 0.3s ease;
}

.link-tw-secondary:hover {
    color: #e11d48;
}

/* Mobile Adjustments for Integrated Links */
@media (max-width: 991px) {
    .header-user-actions {
        border-left: none;
        padding-left: 0;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }

    .modern-top-link,
    .modern-helpline {
        display: block !important;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .header-icon-link {
        width: 30px;
        height: 30px;
    }
}

/* Scrollbar styling for the mobile menu */
#mainMenu::-webkit-scrollbar {
    width: 4px;
}

#mainMenu::-webkit-scrollbar-track {
    background: #f1f5f9;
}

#mainMenu::-webkit-scrollbar-thumb {
    background: #e11d48;
    border-radius: 10px;
}

/* Active Nav Item Indicator for Desktop */
@media (min-width: 992px) {
    .active-nav-item .modern-nav-link {
        color: #e11d48 !important;
    }

    .active-nav-item .modern-nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 3px;
        background: #e11d48;
        border-radius: 10px;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mainMenu.show {
    animation: slideDown 0.3s ease forwards;
}

/* --- Member Dashboard Modern Redesign --- */
.dash-stats-card {
    border: 1px solid #f1f5f9;
    background: #fff;
    border-radius: 20px;
    padding: 1.25rem 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.dash-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04) !important;
    border-color: #ffe4e6;
}

.stats-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.dash-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.35rem;
    color: #1e293b;
}

.dash-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Specific Stat Colors (Modern Palette) */
.stat-heart {
    background: #fef2f2;
    color: #e11d48;
}

.stat-phone {
    background: #ecfeff;
    color: #0891b2;
}

.stat-eye {
    background: #fffbeb;
    color: #d97706;
}

.stat-image {
    background: #f0fdf4;
    color: #16a34a;
}

.stat-user {
    background: #fdf2f8;
    color: #db2777;
}

.stat-gallery {
    background: #f5f3ff;
    color: #7c3aed;
}

/* Premium Membership Card */
.premium-card-modern {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    height: 320px !important;
}

.premium-card-header {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: #fff;
    position: relative;
}

.premium-card-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: #fff;
    clip-path: ellipse(50% 100% at 50% 100%);
}

.premium-badge-float {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.package-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-feature-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.95rem;
    color: #475569;
}

.package-feature-item i {
    width: 24px;
    height: 24px;
    background: #f0fdf4;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.8rem;
}

.package-feature-item.disabled {
    color: #94a3b8;
}

.package-feature-item.disabled i {
    background: #f1f5f9;
    color: #94a3b8;
}

/* Verification Banner */
.modern-verify-banner {
    background: #ffffff;
    border: 1px solid #ffe4e6;
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

p.text-secondary.fs-13.mb-0 {
    color: #373535 !important;
}

.h4.fw-700.text-primary.mb-0 {
    color: black !important;
}

.verify-icon-wrap {
    width: 50px;
    height: 50px;
    background: #e11d48;
    color: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 16px rgba(225, 29, 72, 0.25);
}

/* Matched Profile Item */
.matched-item-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.matched-item-card:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateX(5px);
}

.matched-avatar {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
    margin-right: 1.25rem;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.matched-name {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
    font-size: 1rem;
}

.matched-meta {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

.matched-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 4px;
    margin-top: 4px;
}

/* Sidebar Redesign */
.aiz-user-sidenav-wrap {
    background: #fff;
    border-radius: 24px;
    padding: 2rem 0;
    margin-right: 15px;
    border: 1px solid #f1f5f9;
}

.aiz-user-sidenav .avatar {
    width: 90px;
    height: 90px;
    border: 3px solid #fff !important;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.15);
    margin-bottom: 1.25rem !important;
}

.aiz-side-nav-list {
    padding: 0 1rem;
}

.aiz-side-nav-item {
    margin-bottom: 5px;
}

.aiz-side-nav-link {
    padding: 12px 18px !important;
    border-radius: 14px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
}

.aiz-side-nav-link:hover {
    background: #fef2f2 !important;
    color: #e11d48 !important;
}

.aiz-side-nav-link.active {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25) !important;
}

.aiz-side-nav-icon {
    font-size: 1.3rem !important;
    margin-right: 12px !important;
    transition: all 0.3s ease !important;
}

.aiz-user-sidenav .btn-soft-primary {
    background: #fef2f2;
    border: none;
    color: #e11d48;
    font-weight: 700;
    border-radius: 12px;
    padding: 10px;
}

.aiz-user-sidenav .btn-primary {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    border: none;
    font-weight: 700;
    border-radius: 15px;
    padding: 12px;
}

/* Gradient primary button */
.btn-gradient-primary {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #fff !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
    transform: translateY(-1px);
    opacity: 0.9;
}

/* Modern Gallery Redesign */
.modern-gallery-grid .gallery-item-premium {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-gallery-grid .gallery-item-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.12);
}

.modern-gallery-grid .gallery-img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.modern-gallery-grid .gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-gallery-grid .gallery-item-premium:hover img {
    transform: scale(1.1);
}

.modern-gallery-grid .gallery-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.modern-gallery-grid .gallery-item-premium:hover .gallery-overlay-premium {
    opacity: 1;
}

.modern-gallery-grid .action-btn-group {
    display: flex;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-gallery-grid .gallery-item-premium:hover .action-btn-group {
    transform: translateY(0);
}

.modern-gallery-grid .action-btn-group .btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none !important;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    padding: 0;
}

.modern-gallery-grid .action-btn-group .btn:hover {
    transform: scale(1.15);
}

/* Stats Color Variations */
.stats-icon-wrap.stat-image {
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
}

.stats-icon-wrap.stat-gallery {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}

/* Gallery Lightbox Modal */
.gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #fff !important;
    border-radius: 50%;
    opacity: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #e11d48 !important;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1060;
    transition: all 0.3s ease;
}

.gallery-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: #be123c !important;
}

#image_view_modal .modal-xl {
    max-width: 900px;
}

#modal_image_view {
    max-height: 85vh;
    object-fit: contain;
}

/* Modern Upload styles */
.modern-upload-group {
    border-radius: 12px;
    overflow: hidden;
    border: 2px dashed #e2e8f0;
    transition: all 0.3s ease;
}

.modern-upload-group:focus-within {
    border-color: #e11d48;
    background: rgba(225, 29, 72, 0.02);
}

.modern-upload-group .input-group-text {
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.modern-upload-group .form-control {
    border: none;
    height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: transparent;
    font-weight: 600;
    color: #64748b;
}

.modern-upload-group .file-amount {
    display: flex;
    align-items: center;
}

/* Premium Direct Upload Area */
.direct-upload-container {
    width: 100%;
    min-height: 250px;
    background: #f8fafc;
    border: 3px dashed #e2e8f0;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.direct-upload-container:hover {
    border-color: #e11d48;
    background: rgba(225, 29, 72, 0.02);
    transform: translateY(-2px);
}

.on-drag-over {
    border-color: #e11d48;
    background: rgba(225, 29, 72, 0.05);
}

.upload-placeholder {
    text-align: center;
    transition: all 0.3s ease;
}

#image-preview-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 15px;
}

#image-preview {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #fff;
}

.change-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.direct-upload-container:hover .change-overlay {
    opacity: 1;
}

/* Modern Chat Redesign */
.aiz-chat {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    height: 80vh;
}

.chat-user-list-wrap {
    height: 100%;
}

.chat-user-list-header {
    padding: 1.5rem !important;
    font-weight: 800;
    color: #1e293b;
    font-size: 1.25rem;
    border-right: 1px solid #f1f5f9;
}

.chat-user-list {
    background: #fcfcfd;
    height: calc(80vh - 75px) !important;
}

.chat-user-item {
    border-bottom: 1px solid #f1f5f9 !important;
    transition: all 0.3s ease !important;
    border-left: 4px solid transparent !important;
}

.chat-user-item:hover {
    background: #fff !important;
}

.chat-user-item.selected-chat {
    background: #fff !important;
    border-left-color: #e11d48 !important;
}

.chat-user-item .avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
}

.chat-user-item .media-body h6 {
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.chat-user-item .badge-primary {
    background-color: #e11d48 !important;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

/* Chat Box Area */
.chat-box-wrap {
    background: #fff;
}

.attached-top.chat-header {
    padding: 1.25rem 1.5rem !important;
    background: #fff !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.chat-header h6 {
    font-weight: 800;
    color: #1e293b;
}

.chat-list-wrap {
    height: calc(80vh - 165px) !important;
    background: #f8fafc;
    padding: 1.5rem 0 !important;
}

/* Message Bubbles */
.chat-list .chat-message {
    margin-bottom: 1.25rem;
    max-width: 85%;
}

.chat-message .message-body {
    padding: 12px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.message-left .message-body {
    background: #fff;
    color: #334155;
    border-bottom-left-radius: 4px;
}

.message-right {
    margin-left: auto;
}

.message-right .message-body {
    background: #e11d48;
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Footer / Input */
.chat-footer {
    padding: 1.25rem 1.5rem !important;
    background: #fff;
    border-top: 1px solid #f1f5f9 !important;
}

#send-mesaage .input-group {
    background: #f1f5f9;
    padding: 6px;
    border-radius: 30px;
}

#send-mesaage .form-control {
    background: transparent;
    border: none !important;
    padding: 0.75rem 1.25rem !important;
    font-weight: 500;
}

#send-mesaage .form-control:focus {
    box-shadow: none !important;
}

#send-mesaage .btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

#send-mesaage .btn-primary {
    background: #e11d48 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

/* Info Side Panel */
.chat-info-wrap .chat-info {
    background: #fff;
    border-left: 1px solid #f1f5f9;
    width: 300px;
}

.chat-info .avatar {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 3px solid #f1f5f9;
}

/* Chat Mobile Fixes */
.aiz-chat {
    position: relative;
}

/* Facebook Style Mobile Chat */
@media (max-width: 991px) {
    .aiz-chat {
        height: calc(100vh - 120px) !important;
        border: none;
        border-radius: 0;
        margin: 0 -15px;
        position: relative;
        overflow: hidden;
    }

    .aiz-chat>.row,
    .aiz-chat>.row>div {
        height: 100% !important;
        width: 100% !important;
        margin: 0;
        padding: 0;
    }

    .chat-user-list-wrap {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        background: #fff !important;
        z-index: 1 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        top: auto !important;
        right: auto !important;
    }

    .chat-user-list-header,
    .chat-user-list {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
    }

    #single_chat {
        display: none !important;
        /* Hide by default on mobile */
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #fff !important;
        z-index: 100 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .aiz-chat.chat-box-active #single_chat {
        display: block !important;
    }

    .aiz-chat.chat-box-active .chat-user-list-wrap {
        display: none !important;
    }

    .chat-user-list {
        height: calc(100vh - 200px) !important;
    }

    .chat-list-wrap {
        height: calc(100vh - 220px) !important;
    }

    .chat-footer {
        padding: 10px 15px !important;
        background: #fff !important;
        border-top: 1px solid #f1f5f9 !important;
    }
}




/* Animations for message appearing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message {
    animation: fadeInUp 0.3s ease forwards;
}

/* Profile Viewers Compact Styles */
.member-view-card .view-card-image {
    height: 180px !important;
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
}

.member-view-card .view-card-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
}

.member-view-card .card-body {
    flex: 1;
}

/* My Shortlists Redesign - Compact Version */
.shortlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0.5rem;
}

.shortlist-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.shortlist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
    border-color: #e11d48;
}

.shortlist-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    /* Square for compactness */
    overflow: hidden;
}

.shortlist-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shortlist-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    cursor: pointer;
    z-index: 2;
    border: none;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shortlist-body {
    padding: 0.75rem;
    flex-grow: 1;
}

.shortlist-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shortlist-info-list {
    display: flex;
    flex-direction: column;
}

.member-info-row {
    flex-wrap: wrap;
    gap: 8px;
}

.progress-bar.bg-primary {
    background-color: #04994c !important;
}

.shortlist-card .info-item {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 0px;
    /* Reset bottom margin */
}

.shortlist-card .info-label {
    min-width: auto !important;
    font-weight: 600;
    color: #94a3b8;
    font-size: 10px;
    text-transform: uppercase;
    margin-right: 4px;
}

.info-label {
    min-width: 80px;
    font-weight: 600;
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
}

.info-value {
    color: #475569;
    font-weight: 500;
}

.shortlist-footer {
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
}

.btn-shortlist-action {
    width: 100%;
    padding: 6px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
}

.interest-btn-pending {
    background: #e11d48;
    color: #fff;
}

.interest-btn-pending:hover {
    background: #be123c;
}

.interest-btn-done {
    background: #22c55e !important;
    color: #fff !important;
}

@media (max-width: 576px) {
    .shortlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.75rem;
    }

    .shortlist-grid .info-label {
        display: none;
        /* Hide labels on mobile to save space */
    }

    .info-item i {
        margin-right: 6px;
    }
}

/* Purchase History Modern styles */
.history-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.history-card .card-header {
    background: transparent;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem 2rem;
}

.history-card .card-header .h6 {
    font-weight: 800;
    color: #1e293b;
    font-size: 1.1rem;
}

.modern-table {
    width: 100%;
}

.modern-table thead th {
    background: #f8fafc !important;
    text-transform: uppercase;
    font-size: 11px !important;
    letter-spacing: 0.8px;
    font-weight: 800;
    color: #64748b;
    padding: 1.25rem 1rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.modern-table tbody td {
    padding: 1.25rem 1rem !important;
    vertical-align: middle !important;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid #f8fafc;
}

.payment-code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
}

.pkg-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1e293b;
}

.pkg-name i {
    color: #e11d48;
    font-size: 1.1rem;
}

.amount-val {
    font-weight: 800;
    color: #1e293b;
}

.badge-paid {
    background: #ecfdf5 !important;
    color: #10b981 !important;
    border: none !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
}

.badge-unpaid {
    background: #fef2f2 !important;
    color: #ef4444 !important;
    border: none !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
}

.btn-invoice {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-invoice:hover {
    background: #e11d48;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.2);
}

.date-text {
    font-size: 0.8rem;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .history-card .card-body {
        padding: 0;
    }
}

/* Modern Password Change Redesign */
.modern-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.modern-card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
}

.modern-card-header h5 {
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    font-size: 1.25rem;
}

.modern-form-wrap {
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.modern-form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.modern-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.6rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-input-wrapper {
    position: relative;
}

.modern-input-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.modern-input {
    width: 100%;
    height: 54px;
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 14px;
    padding-left: 54px;
    padding-right: 20px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.3s ease;
}

.modern-input:focus {
    background: #fff;
    border-color: #e11d48;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
    outline: none;
}

.modern-input:focus+i {
    color: #e11d48;
}

.help-text {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 5px;
    display: block;
}

.btn-modern-submit {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px 32px;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

.btn-modern-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.3);
}

.btn-modern-submit:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .modern-form-wrap {
        padding: 1.5rem;
    }
}

/* Modern Invoice Redesign - Clean Executive Version */
.invoice-wrap {
    max-width: 720px;
    margin: 20px auto;
    padding: 10px;
}

.invoice-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
}

.invoice-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #e11d48, #be123c);
}

.invoice-header {
    background: #fff;
    padding: 2rem 2.5rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
    .invoice-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .invoice-header .text-right {
        text-align: center !important;
        margin-top: 20px;
    }
}

.invoice-header .inv-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
}

.invoice-header .purchase-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 5px;
    display: inline-block;
}

.invoice-body {
    padding: 2rem 2.5rem;
}

@media (max-width: 768px) {
    .invoice-body {
        padding: 1.25rem;
    }
}

.invoice-info-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .invoice-info-grid {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .invoice-info-grid .text-right {
        text-align: center !important;
    }
}

.info-box {
    flex: 1;
}

.info-box h6 {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 15px;
}

.info-box p {
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.info-box .sub-text {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.invoice-table-wrap {
    margin: 2rem 0;
    overflow-x: auto;
}

.invoice-modern-table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-modern-table thead th {
    text-align: left;
    padding: 12px 0;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.invoice-modern-table tbody td {
    padding: 20px 0;
    color: #1e293b;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
}

.invoice-modern-table .total-row td {
    border-bottom: none;
    padding-top: 2rem;
}

.invoice-modern-table .total-label {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: #e11d48;
}

.print-btn-wrap {
    padding: 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
}

.btn-invoice-print {
    background: #1e293b;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-invoice-print:hover {
    background: #e11d48;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.2);
    color: #fff;
}

@media print {
    .print-btn-wrap {
        display: none !important;
    }

    .invoice-wrap {
        margin: 0;
        padding: 0;
        max-width: 100%;
    }

    .invoice-card {
        box-shadow: none;
        border: none;
    }

    .invoice-card::before {
        display: none;
    }
}

/* Auth Pages Redesign */
.auth-page-wrap {
    background: linear-gradient(135deg, #fff5f6 0%, #ffe4e6 100%);
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.auth-card {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.12);
}

.auth-header {
    background: #fff;
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
}

.auth-header h1 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.auth-body {
    padding: 0 2.5rem 2.5rem;
}

.form-group .form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.auth-card .form-control {
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    height: auto;
}

.auth-card .form-control:focus {
    background: #fff;
    border-color: #e11d48;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
    color: #1e293b;
}

.auth-btn-primary {
    background: linear-gradient(to right, #e11d48, #be123c);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.2);
}

.auth-btn-primary:hover {
    background: linear-gradient(to right, #be123c, #9f1239);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.3);
    color: #fff;
}

.auth-card .link-muted {
    color: #e11d48;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.auth-card .link-muted:hover {
    color: #be123c;
    text-decoration: underline;
}

.social-login-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: #94a3b8;
}

.social-login-separator::before,
.social-login-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.social-login-separator span {
    padding: 0 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.social-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.social-btn.facebook {
    color: #1877f2;
}

.social-btn.google {
    color: #ea4335;
}

.social-btn.twitter {
    color: #1da1f2;
}

.social-btn.apple {
    color: #000;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.social-btn.facebook:hover {
    background: rgba(24, 119, 242, 0.04);
}

.social-btn.google:hover {
    background: rgba(234, 67, 53, 0.04);
}

.social-btn.twitter:hover {
    background: rgba(29, 161, 242, 0.04);
}

.social-btn.apple:hover {
    background: rgba(0, 0, 0, 0.04);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #e11d48;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-footer a:hover {
    color: #be123c;
    text-decoration: underline;
}

.demo-table-wrap {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px dashed #e11d48;
}

.demo-table-wrap table {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.btn-copy-creds {
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 6px;
    border-color: #e11d48;
    color: #e11d48;
}

.btn-copy-creds:hover {
    background: #e11d48;
    color: #fff;
}

/* Password Toggle Style */
.password-toggle-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle-wrap .form-control {
    padding-right: 45px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.password-toggle-btn:hover {
    color: #e11d48;
}

.password-toggle-btn:focus {
    outline: none;
}

/* Payment Selection Styles */
.payment-selection-wrap {
    background-color: #f8fafc;
    min-height: calc(100vh - 120px);
    padding: 3rem 0;
}

.payment-summary-card {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.payment-summary-card .package-header {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #fecdd3;
}

.payment-summary-card .package-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.payment-summary-card .package-name {
    color: #1e293b;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0;
}

.payment-summary-card .card-body {
    padding: 1.5rem;
}

.payment-summary-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.payment-summary-card .feature-list li {
    display: flex;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 0.9rem;
    color: #475569;
}

.payment-summary-card .feature-list li:last-child {
    border-bottom: none;
}

.payment-summary-card .feature-list li i {
    font-size: 1.15rem;
    margin-right: 0.75rem;
}

.payment-summary-card .price-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.payment-summary-card .price-amount {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #e11d48;
    line-height: 1;
}

.payment-summary-card .price-duration {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 5px;
}

.payment-method-card {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.payment-method-card .card-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem 2rem;
}

.payment-method-card .card-header h3 {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.15rem;
}

.payment-method-grid .aiz-megabox-elem {
    border-radius: 16px;
    border: 2px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.payment-method-grid .aiz-megabox:hover .aiz-megabox-elem {
    border-color: #fecdd3;
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.1);
}

.payment-method-grid input:checked+.aiz-megabox-elem {
    border-color: #e11d48;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
}

.payment-method-grid .aiz-megabox-elem img {
    height: 45px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.payment-method-grid .aiz-megabox-elem .payment-name {
    font-weight: 700;
    color: #334155;
    font-size: 0.95rem;
}

.manual-payment-info {
    background: #fff5f6;
    border: 1px solid #fecdd3;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.btn-confirm-payment {
    background: linear-gradient(to right, #e11d48, #be123c);
    border: none;
    border-radius: 12px;
    padding: 14px 40px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.2);
}

.btn-confirm-payment:hover:not(:disabled) {
    background: linear-gradient(to right, #be123c, #9f1239);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.3);
    color: #fff;
}

.btn-confirm-payment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #94a3b8;
    box-shadow: none;
}

/* Modern Footer Redesign */
.modern-footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #e11d48, #be123c, #e11d48);
}

.modern-footer .footer-logo {
    margin-bottom: 2rem;
    display: inline-block;
}

.modern-footer .about-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.modern-footer .footer-widget-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.modern-footer .footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: #e11d48;
    border-radius: 2px;
}

.modern-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-footer .footer-links li {
    margin-bottom: 0.75rem;
}

.modern-footer .footer-links a {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.modern-footer .footer-links a i {
    margin-right: 10px;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.modern-footer .footer-links a:hover {
    color: #e11d48;
    transform: translateX(5px);
}

.modern-footer .footer-links a:hover i {
    transform: scale(1.2);
}

.modern-footer .contact-info-item {
    display: flex;
    margin-bottom: 1.25rem;
    color: #cbd5e1;
}

.modern-footer .contact-info-item i {
    width: 35px;
    height: 35px;
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.modern-footer .contact-info-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

.modern-footer .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.modern-footer .social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

.modern-footer .social-icon-btn:hover {
    background: #e11d48;
    border-color: #e11d48;
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
}

.modern-footer .footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-footer .copyright-text {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.modern-footer .app-badge {
    transition: all 0.3s ease;
    display: inline-block;
    filter: brightness(0.9);
}

.modern-footer .app-badge:hover {
    transform: translateY(-2px);
    filter: brightness(1);
}

/* Mobile Bottom Nav Refinement */
.aiz-mobile-bottom-nav {
    border-top: 1px solid #f1f5f9 !important;
    padding: 5px 0;
}

.aiz-mobile-bottom-nav i {
    font-size: 1.35rem !important;
    margin-bottom: 2px;
}

.aiz-mobile-bottom-nav .badge {
    top: 0 !important;
    right: 0 !important;
    background: #e11d48 !important;
}

.aiz-mobile-bottom-nav a.active,
.aiz-mobile-bottom-nav a.opacity-100 {
    color: #e11d48 !important;
}

/* --- Registration Page Redesign --- */
.register-page-wrapper {
    background: linear-gradient(135deg, #fff5f6 0%, #ffeef0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.register-card {
    border: none !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.08) !important;
    overflow: hidden;
    background: #ffffff !important;
}

.register-card-header {
    background: transparent;
    border: none;
    padding: 40px 40px 10px;
    text-align: center;
}

.register-card-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.register-card-header p {
    color: #64748b;
    font-size: 1rem;
}

.register-card-body {
    padding: 20px 40px 40px;
}

.register-form-group {
    margin-bottom: 1.5rem;
}

.register-form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    display: block;
}

.register-form-control {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    color: #1e293b !important;
    height: auto !important;
}

.register-form-control:focus {
    background-color: #ffffff !important;
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1) !important;
    outline: none !important;
}

.register-submit-btn {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3) !important;
    width: 100%;
}

.register-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -5px rgba(225, 29, 72, 0.4) !important;
    color: #fff !important;
}

.register-submit-btn:disabled {
    opacity: 0.6;
    background: #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

.social-separator {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #94a3b8;
}

.social-separator::before,
.social-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.social-separator span {
    padding: 0 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.register-social-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.register-social-item {
    height: 44px;
    padding: 0 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569 !important;
    background: #ffffff !important; 
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.register-social-item i {
    font-size: 1.25rem;
}

.register-social-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #ffffff !important;
}

.register-social-item.facebook {
    color: #1877f2 !important;
}

.register-social-item.google {
    color: #ea4335 !important;
    border-color: #fca5a5 !important;
    background: #fff5f5 !important;
}

.register-social-item.twitter {
    color: #1da1f2 !important;
}

.register-social-item.apple {
    color: #000 !important;
}

.login-redirect {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
}

.login-redirect a {
    color: #e11d48;
    font-weight: 700;
    text-decoration: none;
}

.login-redirect a:hover {
    text-decoration: underline;
}

/* Redesigning selectpicker for registration */
.register-card .bootstrap-select>.dropdown-toggle {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    height: auto !important;
    font-size: 0.95rem !important;
}

.register-card .bootstrap-select .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.register-iti .iti {
    display: block;
}

.register-iti .form-control {
    padding-left: 50px !important;
}

.registration-iti .input-group-append .btn,
.registration-iti .btn-primary {
    border-radius: 12px !important;
    margin-left: 10px !important;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    z-index: 10;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.password-toggle:hover {
    color: #e11d48;
}

/* --- Contact Us Page Redesign --- */
.contact-page-wrapper {
    background: linear-gradient(135deg, #fff5f6 0%, #ffeef0 100%);
    padding: 60px 0;
    min-height: calc(100vh - 80px);
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-header p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(225, 29, 72, 0.05);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.1);
    border-color: rgba(225, 29, 72, 0.2);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: #fff1f2;
    color: #e11d48;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: #e11d48;
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: #64748b;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: none;
    margin-top: 40px;
}

.contact-form-header {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    padding: 30px;
    color: #fff;
    text-align: center;
}

.contact-form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-form-body {
    padding: 40px;
}

.contact-form-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-form-control {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    transition: all 0.2s ease !important;
}

.contact-form-control:focus {
    background-color: #fff !important;
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1) !important;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3) !important;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -5px rgba(225, 29, 72, 0.4) !important;
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-form-body {
        padding: 25px;
    }
}

/* --- Public Profile Redesign --- */
.profile-main-wrapper {
    background-color: #f8fafc;
    padding-bottom: 60px;
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
}


.profile-header-section {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    padding-top: 80px;
    padding-bottom: 120px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.profile-header-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #f8fafc;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.profile-name-area h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.profile-id-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.profile-quick-info {
    margin-top: 20px;
}

.profile-quick-info table td {
    padding: 8px 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.profile-action-btn-wrapper {
    background: #ffffff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-sidebar {
    margin-top: -160px;
    z-index: 10;
    position: relative;
}

.profile-image-container {
    background: #ffffff;
    padding: 10px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.profile-image-container img {
    border-radius: 18px;
    width: 100%;
}

.profile-sidebar-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.sidebar-btn-group .btn {
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    border: none;
    transition: all 0.3s ease;
}

.sidebar-btn-group .btn i {
    font-size: 1.5rem;
    margin-right: 12px;
}

.btn-shortlist {
    background: #fff1f2;
    color: #e11d48;
}

.btn-shortlist:hover {
    background: #e11d48;
    color: #ffffff;
}

.btn-ignore {
    background: #f1f5f9;
    color: #64748b;
}

.btn-report {
    background: #fff7ed;
    color: #f97316;
}

.similar-profile-card {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: #f8fafc;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.similar-profile-card:hover {
    background: #ffffff;
    border-color: #ffe4e6;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.05);
}

.similar-profile-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 15px;
}

/* Tabs Redesign */
.profile-tabs-nav {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.profile-tabs-nav .nav-link {
    border: none;
    color: #64748b;
    font-weight: 700;
    padding: 15px 25px;
    position: relative;
    transition: all 0.3s ease;
}

.profile-tabs-nav .nav-link.active {
    color: #e11d48;
    background: transparent;
}

.profile-tabs-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e11d48;
    border-radius: 3px 3px 0 0;
}

/* Accordion Redesign */
.profile-accordion-item {
    background: #ffffff;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.profile-accordion-header {
    padding: 20px 24px !important;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-accordion-header[aria-expanded="true"] {
    background: #fff1f2;
}

.profile-accordion-icon {
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #e11d48;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.profile-accordion-header[aria-expanded="true"] .profile-accordion-icon {
    background: #e11d48;
    color: #ffffff;
    transform: scale(1.1);
}

.profile-data-table {
    width: 100%;
}

.profile-data-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.profile-data-table tr:last-child td {
    border-bottom: none;
}

.data-label {
    font-weight: 600;
    color: #64748b;
    width: 40%;
}

.data-value {
    font-weight: 700;
    color: #1e293b;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.tab-content>.active {
    padding-top: 40px;
}

.gallery-lock-overlay {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

@media (max-width: 991.98px) {
    .profile-sidebar {
        margin-top: 0;
        margin-bottom: 30px;
    }

    .profile-header-section {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .profile-name-area h1 {
        font-size: 1.8rem;
    }
}

.nav-item {
    list-style: none;
}

.aiz-user-sidenav .active .aiz-side-nav-icon {
    color: #ffffff !important;
}

/* Photo Gallery Section Header */
.gallery-header {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    padding: 20px 25px;
    border-radius: 20px;
    border-bottom: none !important;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.2);
}

.gallery-title {
    color: #0b0101 !important;
    margin-bottom: 0 !important;
}

.gallery-badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #1b1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    font-weight: 600 !important;
}

/* Premium Profile Tabs Styling */
.premium-profile-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    border-bottom: none !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.premium-profile-tabs::-webkit-scrollbar {
    display: none;
}

.premium-profile-tabs .nav-item {
    margin-bottom: 0 !important;
    margin-right: 8px;
    flex: 0 0 auto;
}

.premium-profile-tabs .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 12px 20px !important;
    border: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 12px 12px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    opacity: 0.8 !important;
}

.premium-profile-tabs .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
}

.premium-profile-tabs .nav-link:hover:not(.active) {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    opacity: 0.9 !important;
}

@media (max-width: 991.98px) {
    .profile-header-section {
        padding-bottom: 80px !important;
        z-index: 20 !important;
        overflow: visible !important;
    }

    .profile-main-content {
        margin-top: -60px !important;
    }

    .premium-profile-tabs {
        justify-content: flex-start !important;
        padding: 5px 15px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px);
        border-radius: 12px !important;
        margin-bottom: 5px !important;
    }
}

/* --- Profile Utilities --- */
.bg-white-10 {
    background: rgba(255, 255, 255, 0.15) !important;
}

.bg-white-20 {
    background: rgba(255, 255, 255, 0.25) !important;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.rounded-20 {
    border-radius: 20px !important;
    /* display: flex; */
    flex-direction: column;
    margin: 2rem;
}

.rounded-24 {
    border-radius: 24px !important;
}

.letter-spacing-1 {
    letter-spacing: 0.5px;
}

.hov-scale-1-02:hover {
    transform: scale(1.02);
}

.hov-scale-1-05:hover {
    transform: scale(1.05);
}

.hov-shadow-lg:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

img.mw-100.h-35px.h-md-45px.transition-all {
    filter: drop-shadow(1px 3px 3px);
    color: #616161;
}

.premium-profile-tabs .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.premium-profile-tabs .nav-link.active:after {
    width: 30px;
}

/* --- Mobile Profile Reordering --- */
@media (max-width: 1199.98px) {
    .profile-main-row {
        display: flex !important;
        flex-direction: column !important;
    }

    .sidebar-main,
    .sidebar-main .profile-sidebar {
        display: contents !important;
    }

    .sidebar-item-image {
        order: 1;
    }

    .sidebar-item-actions {
        order: 2;
    }

    .content-main {
        order: 3;
    }

    .sidebar-item-similar {
        order: 4;
    }

    .sidebar-item-banner {
        order: 5;
    }

    /* Maintain spacing for flattened items */
    .sidebar-item-image,
    .sidebar-item-actions,
    .content-main,
    .sidebar-item-similar,
    .sidebar-item-banner {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .profile-content-area {
        margin-bottom: 30px !important;
    }
}

/* --- Redesigned Forgot Password Page --- */
.forgot-password-section {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff5f6 0%, #fff 100%);
    padding: 60px 0;
}

.auth-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(225, 29, 72, 0.08);
    border: 1px solid rgba(225, 29, 72, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-card-header {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    padding: 40px 30px;
    text-align: center;
    color: #fff;
}

.auth-card-header .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    backdrop-filter: blur(5px);
}

.auth-card-body {
    padding: 40px;
}

.auth-card-body .form-group label {
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 8px;
}

.auth-card-body .form-control {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1.5px solid #f3f4f6;
    transition: all 0.3s ease;
}

.auth-card-body .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--soft-primary);
}

.btn-auth-submit {
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.btn-auth-submit:hover {
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
    transform: translateY(-1px);
}

.back-to-login {
    display: inline-flex;
    align-items: center;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.back-to-login i {
    margin-right: 8px;
    font-size: 14px;
}

.back-to-login:hover {
    color: var(--primary);
}

@media (max-width: 575.98px) {
    .auth-card-body {
        padding: 30px 20px;
    }
}

/* --- Redesigned Member Listing Page --- */
.member-listing-section {
    background-color: #f8fafc;
    padding: 60px 0;
}

.listing-sidebar {
    position: sticky;
    top: 100px;
    z-index: 10;
}

/* Ensure filter sidebar appears above member cards on mobile */
.aiz-filter-sidebar.collapse-sidebar-wrap {
    z-index: 1035 !important;
}

.aiz-filter-sidebar .overlay {
    z-index: 1030 !important;
}

.aiz-filter-sidebar .collapse-sidebar {
    z-index: 1040 !important;
}

.listing-sidebar .card {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
}

.listing-sidebar .card-header {
    background: transparent;
    border-bottom: 1px solid #f1f5f9;
    padding: 25px 20px;
}

.listing-sidebar .card-header h5 {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.member-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    height: 260px !important;
    /* Reduced height */
}

.member-card.spotlight-member {
    height: 310px !important;
}

.member-card.spotlight-member .member-card-image-wrap,
.member-card.spotlight-member .member-card-content {
    height: 250px !important;
}

.member-card.spotlight-member .btn-view-profile {
    display: inline-flex !important;
    width: auto !important;
    margin-top: 0 !important;
}



.member-card.spotlight-member .action-btn {
    min-width: 38px !important;
    padding: 0 12px !important;
}

@media (max-width: 991.98px) {
    .member-card.spotlight-member .btn-view-profile {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 10px !important;
    }
}

.member-card.spotlight-member .btn-view-profile:hover {
    background: #be123c;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

@media (max-width: 991.98px) {
    .member-card.spotlight-member {
        height: auto !important;
    }

    .member-card.spotlight-member .member-card-image-wrap {
        height: 280px !important;
        min-height: 280px;
    }

    .member-card.spotlight-member .member-card-content {
        height: auto !important;
    }
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(225, 29, 72, 0.12);
    border-color: rgba(225, 29, 72, 0.1);
}

.member-card-image-col {
    width: 220px;
}

.member-card-image-wrap {
    position: relative;
    height: 250px !important;
    background: #f1f5f9;
}

.member-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.member-card:hover .member-card-image-wrap img {
    transform: scale(1.05);
}

.member-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.member-card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.badge-premium {
    background: linear-gradient(135deg, #ef486a 0%, #ef486a 100%);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
    border: 1.5px solid #fff;
}

.badge-verified {
    background: #10b981;
    color: white;
    padding: 6px 12px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1.5px solid #fff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.05em;
}

.member-card-content {
    padding: 12px 18px;
    height: 250px !important;
    /* Match card height */
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-id {
    font-size: 10px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
    padding: 1px 6px;
    background: var(--soft-primary);
    border-radius: 6px;
}

.member-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
    row-gap: 4px;
    margin-bottom: 5px;
}

.info-item {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    padding-bottom: 4px;
}

.info-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    min-width: 80px;
}

.info-label::after {
    content: ":-";
    margin-left: 2px;
}

.info-value {
    font-size: 11px;
    color: #1e293b;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
    gap: 10px;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .member-actions {
        flex-wrap: nowrap;
    }
}

.action-btns-wrap {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex-shrink: 1;
    min-width: 0;
}

.action-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    transition: all 0.3s ease;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

.action-btn:hover {
    background: var(--soft-primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.action-btn.active {
    background: #ecfdf5;
    color: #10b981;
}

.btn-view-profile {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff !important;
    padding: 8px 16px;
    /* Reduced padding */
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    /* Slightly smaller font */
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.2);
    transition: all 0.3s ease;
}

.btn-view-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(225, 29, 72, 0.3);
}

@media (max-width: 991.98px) {
    .member-card {
        height: auto !important;
        margin-bottom: 25px;
        display: block;
    }

    .member-card-image-col,
    .member-card-info-col {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .member-card-image-wrap {
        height: 280px !important;
        min-height: 280px;
    }

    .member-card-content {
        height: auto !important;
        padding: 20px 15px !important;
    }

    .listing-sidebar {
        margin-bottom: 30px;
    }

    .member-name {
        white-space: normal;
        font-size: 1.25rem;
    }

    .info-value {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
}

@media (max-width: 575.98px) {
    .member-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 767.98px) {
    .member-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px 10px !important;
    }

    .info-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
        padding-bottom: 6px !important;
    }

    .info-label {
        min-width: unset !important;
        font-size: 11px !important;
        margin-bottom: 2px !important;
        opacity: 0.9;
        font-weight: 600;
        color: #64748b !important;
        display: block !important;
        /* Ensure it's never hidden */
    }

    .info-value {
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        line-height: 1.2 !important;
        display: block !important;
    }

    .member-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .action-btns-wrap {
        justify-content: center;
    }

    .btn-view-profile {
        width: 100%;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .member-card-image-wrap {
        height: 220px !important;
    }

    .action-btn {
        padding: 0 8px;
        font-size: 12px !important;
    }
}

/* Notification Page Redesign */
.notification-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.notification-header {
    padding: 1.5rem;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h5 {
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    font-size: 1.25rem;
}

.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification-item {
    padding: 1.25rem 1.5rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8fafc;
    position: relative;
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: #fdf2f3;
}

.notification-item.unread {
    background-color: #fff9fa;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #e11d48;
}

.notification-link {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.notif-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.notif-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notif-content {
    flex-grow: 1;
}

.notif-message {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.notif-time {
    color: #94a3b8;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.unread-indicator {
    width: 10px;
    height: 10px;
    background-color: #e11d48;
    border-radius: 50%;
    margin-left: auto;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.mark-read-btn {
    background: #fff !important;
    color: #e11d48 !important;
    border: 1px solid #ffe4e6 !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.mark-read-btn:hover {
    background: #e11d48 !important;
    color: #fff !important;
    border-color: #e11d48 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2) !important;
}

.empty-notif-state {
    padding: 5rem 2rem;
    text-align: center;
}

.empty-notif-icon {
    font-size: 5rem;
    color: #fee2e2;
    margin-bottom: 1.5rem;
    display: block;
}

.empty-notif-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.empty-notif-text {
    color: #94a3b8;
}

@media (max-width: 576px) {
    .notification-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        padding: 1.25rem;
    }

    .mark-read-btn {
        width: 100%;
        justify-content: center;
    }

    .notification-item {
        padding: 1rem;
    }

    .notif-avatar {
        width: 44px;
        height: 44px;
    }

    .notif-message {
        font-size: 0.9rem;
    }
}

/* Matched Profiles Redesign */
.matched-profile-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
    position: relative;
}

.matched-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.12);
    border-color: rgba(225, 29, 72, 0.1);
}

.profile-image-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.matched-profile-card:hover .profile-img {
    transform: scale(1.08);
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-info-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-name a:hover {
    color: var(--primary);
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
}

.meta-item {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.meta-item i {
    color: var(--primary);
    font-size: 16px;
}

.profile-location {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-location i {
    color: #94a3b8;
}

.profile-actions-footer {
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.action-btn-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.btn-action {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
}

.btn-action:hover {
    transform: translateY(-3px);
}

.btn-action.interest:hover {
    background: #fff1f2;
    color: #e11d48;
}

.btn-action.interest.active:not(.sent) {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid rgba(225, 29, 72, 0.1) !important;
}

.btn-action.interest.active.sent {
    background: #22c55e !important;
    color: #fff !important;
    border: 1px solid #22c55e !important;
}

.btn-action.interest.active.sent i {
    color: #fff !important;
}

.btn-action.interest.active i {
    color: #e11d48;
    font-weight: 900 !important;
    font-size: 20px !important;
}

.btn-view-profile-sm {
    flex-grow: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff !important;
    text-align: center;
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 10px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-view-profile-sm:hover {
    box-shadow: 0 8px 16px rgba(225, 29, 72, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .profile-image-wrap {
        height: 350px;
    }


    .profile-name {
        font-size: 1rem;
    }

    .meta-item {
        font-size: 12px;
    }
}

/* Happy Story Redesign */
.happy-story-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.happy-story-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
}

.happy-story-header h1,
.happy-story-header h5 {
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.happy-story-body {
    padding: 2rem;
}

.premium-upgrade-card {
    background: linear-gradient(135deg, #fdf2f3 0%, #fff 100%);
    border: 1px border-dashed #e11d48;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
}

.premium-upgrade-icon {
    font-size: 4rem;
    color: #e11d48;
    margin-bottom: 1.5rem;
    display: block;
}

.premium-upgrade-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.premium-upgrade-text {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-premium-upgrade {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #fff !important;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
}

.btn-premium-upgrade:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(225, 29, 72, 0.3);
}

/* Create Story Form */
.story-form .form-group label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: block;
}

.story-form .form-control {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    height: auto;
}

.story-form .form-control:focus {
    border-color: #e11d48;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
}

.btn-save-story {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff !important;
    padding: 0.8rem 3rem;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.2);
    transition: all 0.3s ease;
}

.btn-save-story:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.3);
}

/* Story View */
.story-view-header {
    margin-bottom: 2rem;
}

.story-title-main {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.story-meta-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: #64748b;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.story-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-meta-item i {
    color: var(--primary);
}

.story-carousel-wrap {
    margin-bottom: 2.5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.story-details-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
}

.story-details-content p {
    margin-bottom: 1.5rem;
}

.video-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .story-title-main {
        font-size: 1.5rem;
    }

    .story-meta-row {
        gap: 1rem;
    }

    .happy-story-body {
        padding: 1.5rem;
    }
}

/* Direct Upload Styles */
.upload-area {
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.upload-area:hover {
    border-color: #e11d48;
    background: #fff1f2;
}

.upload-area i {
    font-size: 3rem;
    display: block;
}

.direct-preview-item {
    position: relative;
    border-radius: 12px;
}

.btn-circle.btn-xs {
    width: 20px;
    height: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Public Happy Stories Styles */
.happy-stories-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
    border-radius: 0 0 50px 50px;
}

.happy-story-public-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.happy-story-public-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.happy-story-img-wrap {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.happy-story-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.happy-story-public-card:hover .happy-story-img-wrap img {
    transform: scale(1.1);
}

.story-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    z-index: 1;
}

.happy-story-public-body {
    padding: 1.75rem;
    flex-grow: 1;
}

.story-public-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.story-public-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.story-public-meta i {
    color: var(--primary);
}

.btn-story-detail {
    background: #f8fafc;
    color: #1e293b;
    border: none;
    width: 100%;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
    display: block;
    text-decoration: none !important;
}

.btn-story-detail:hover {
    background: var(--primary);
    color: #fff !important;
}

/* Details Page Enhanced */
.story-detail-hero {
    background: #f8fafc;
    padding: 80px 0 120px 0;
    border-radius: 0 0 50px 50px;
    margin-bottom: 0;
}

.story-detail-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-top: -80px;
    padding: 15px;
}


.story-detail-carousel .carousel-box img {
    max-height: 700px;
    width: 100%;
    object-fit: contain;
    border-radius: 20px;
    background: #f1f5f9;
}


.story-article-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #334155;
}

@media (max-width: 768px) {
    .happy-stories-hero {
        padding: 60px 0;
    }

    .story-detail-carousel .carousel-box img {
        height: 300px;
    }
}

/* Sidebar View Profile Button - Light Green Style */
.aiz-user-sidenav .btn-soft-primary {
    background-color: #eafaea !important;
    color: #28a745 !important;
    border: 1px solid rgba(40, 167, 69, 0.1);
    font-weight: 600;
    transition: all 0.3s ease;
}

.aiz-user-sidenav .btn-soft-primary:hover {
    background-color: #28a745 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

/* Mobile Sidebar Fixes */
@media (max-width: 1199.98px) {
    .aiz-mobile-side-nav {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 300px;
        transition: all 0.3s ease;
        z-index: 1045;
        display: block !important;
    }

    .aiz-mobile-side-nav.opened {
        left: 0;
    }

    .aiz-mobile-side-nav .overlay {
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .aiz-mobile-side-nav.opened .overlay {
        visibility: visible;
        opacity: 1;
    }
}

/* Interests Pages Premium Redesign */
.premium-interest-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.premium-interest-card .card-header {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem;
}

.premium-title {
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.interest-table {
    margin-bottom: 0;
}

.interest-table thead th {
    background: #f8fafc;
    border-top: none;
    border-bottom: 2px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 1rem 1.5rem;
}

.interest-table tbody td {
    padding: 1.25rem 1.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.member-avatar-wrap {
    position: relative;
    width: 50px;
    height: 50px;
}

.member-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.member-name {
    font-weight: 600;
    color: #1e293b;
    transition: color 0.2s;
}

.member-name:hover {
    color: var(--primary);
}

.age-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.status-badge-approved {
    background: #ecfdf5;
    color: #10b981;
}

.status-badge-pending {
    background: #fffbeb;
    color: #f59e0b;
}

.action-btn-group {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.action-btn-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-btn-circle:hover {
    transform: scale(1.1);
}

.action-btn-accept {
    background: #eef2ff;
    color: #4f46e5;
}

.action-btn-accept:hover {
    background: #4f46e5;
    color: #fff;
}

.action-btn-reject {
    background: #fef2f2;
    color: #ef4444;
}

.action-btn-reject:hover {
    background: #ef4444;
    color: #fff;
}

@media (max-width: 768px) {
    .premium-interest-card .card-header {
        padding: 1.25rem;
        text-align: center;
    }

    .interest-table thead {
        display: none;
    }

    .interest-table,
    .interest-table tbody,
    .interest-table tr {
        display: block;
        width: 100%;
    }

    .interest-table tr {
        margin-bottom: 20px;
        border: none !important;
        border-radius: 24px;
        padding: 20px;
        background: #fff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .interest-table td {
        display: block;
        padding: 0;
        border: none !important;
        text-align: left;
    }

    /* Column 1: # - Hidden */
    .interest-table td:nth-child(1) {
        display: none !important;
    }

    /* Column 2: Image Section */
    .interest-table td:nth-child(2) {
        width: 70px !important;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .member-avatar-wrap {
        width: 70px;
        height: 70px;
        margin: 0;
        border-radius: 14px;
        overflow: hidden;
    }

    /* Column 3, 4, 5: Name, Age, Status Section */
    .interest-table td:nth-child(3),
    .interest-table td:nth-child(4),
    .interest-table td:nth-child(5) {
        flex: 1;
        min-width: 150px;
    }

    .member-name {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1e293b;
        display: block;
        margin-bottom: 2px;
    }

    .age-badge {
        background: #f1f5f9;
        padding: 3px 10px;
        color: #64748b;
        font-weight: 600;
        font-size: 0.75rem;
        border-radius: 6px;
        display: inline-block;
    }

    .status-badge {
        display: inline-block;
        margin-top: 5px;
        font-size: 0.7rem;
    }

    /* Column 6: Action Section - Full width bottom */
    .interest-table td:last-child {
        width: 100% !important;
        margin-top: 15px;
        padding-top: 15px !important;
        border-top: 1px solid #f1f5f9 !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .interest-table td::before {
        display: none !important;
    }

    .action-btn-group {
        justify-content: flex-end;
        gap: 10px;
        width: auto;
    }

    .action-btn-circle {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }
}

/* Premium Modal Redesign */
.premium-modal .modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.premium-modal .modal-header {
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.5rem;
    justify-content: center;
}

.premium-modal .modal-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.25rem;
}

.premium-modal .modal-body {
    padding: 1.5rem 2rem 2rem;
}

.premium-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.icon-success {
    background-color: #ecfdf5;
    color: #10b981;
}

.icon-danger {
    background-color: #fef2f2;
    color: #ef4444;
}

.premium-modal-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.premium-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-premium-cancel {
    background-color: #f1f5f9;
    color: #475569;
    border: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-premium-cancel:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.btn-premium-confirm {
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-premium-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-premium-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

/* --- Member Profile Edit Deep Redesign --- */
.profile-edit-wrapper {
    background-color: #f8fafc;
    min-height: 100vh;
    padding-bottom: 3rem;
    overflow-x: hidden;
}

.profile-edit-wrapper .container-fluid {
    overflow-x: hidden;
}

.profile-edit-sticky-nav {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.profile-edit-nav {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(225, 29, 72, 0.05);
    overflow: hidden;
    padding: 1rem;
}

.edit-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.edit-nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.edit-nav-item i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.edit-nav-item:hover {
    background-color: #fff1f2;
    color: #e11d48;
    text-decoration: none;
}

.edit-nav-item:hover i {
    color: #e11d48;
    transform: scale(1.1);
}

.edit-nav-item.active {
    background-color: #e11d48;
    color: #4c6480;
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.3);
}

.edit-nav-item.active i {
    color: #4c6480;
}

/* Premium Form Card */
.profile-edit-wrapper .card {
    border: 1px solid rgba(225, 29, 72, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-edit-wrapper .card:hover {
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.1), 0 4px 6px -2px rgba(225, 29, 72, 0.05);
}

.profile-edit-wrapper .card-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.5rem;
}

.profile-edit-wrapper .card-header h5 {
    color: #111827 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
}

.profile-edit-wrapper .card-header h5::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #e11d48;
    margin-right: 12px;
    border-radius: 2px;
}

.profile-edit-wrapper .card-body {
    padding: 1.5rem;
}

/* Form Styling */
.profile-edit-wrapper .form-control {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.6rem 1rem;
    height: auto;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.profile-edit-wrapper .form-control:focus {
    border-color: #fda4af;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
    background-color: #fff;
}

.profile-edit-wrapper label {
    font-weight: 600;
    color: #475569;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.profile-edit-wrapper .btn-primary {
    background: linear-gradient(135deg, #e11d48, #be123c);
    border: none;
    border-radius: 10px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.2);
    transition: all 0.3s ease;
}

.profile-edit-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
    background: linear-gradient(135deg, #be123c, #9f1239);
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    .profile-edit-wrapper {
        padding-top: 0.5rem !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .profile-edit-sticky-nav {
        position: sticky !important;
        top: 0 !important;
        z-index: 1020 !important;
        background: #f8fafc !important;
        margin: 0 !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        width: 100% !important;
    }

    .profile-edit-nav {
        padding: 0 10px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .edit-nav-list {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        padding-bottom: 8px !important;
        margin: 0 !important;
        width: max-content !important;
        list-style: none !important;
    }

    .edit-nav-item {
        padding: 0.5rem 1rem !important;
        white-space: nowrap !important;
        background: #fff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 50px !important;
        font-size: 0.8rem !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }

    .profile-edit-wrapper .card {
        border-radius: 12px !important;
        margin-bottom: 1rem !important;
        border: 1px solid #e2e8f0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .profile-edit-wrapper .card-header {
        padding: 1rem !important;
    }

    .profile-edit-wrapper .card-body {
        padding: 1rem !important;
    }

    .profile-edit-wrapper .btn-primary {
        width: 100% !important;
        padding: 0.8rem !important;
        display: block !important;
    }

    .profile-edit-nav h6 {
        display: none !important;
    }

    /* Fix potential overflow in child rows */
    .profile-edit-wrapper .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }

    .profile-edit-wrapper [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* Hide scrollbar for mobile nav */
.profile-edit-sticky-nav::-webkit-scrollbar {
    display: none;
}

.profile-edit-sticky-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Fix for bootstrap select styling in our theme */
.profile-edit-wrapper .bootstrap-select .btn {
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    padding: 0.6rem 1rem !important;
}

.profile-edit-wrapper .bootstrap-select .btn:focus {
    outline: none !important;
    border-color: #fda4af !important;
}

/* Force hide original select to prevent "double dropdown" issue */
.profile-edit-wrapper select.aiz-selectpicker {
    display: none !important;
}

.profile-edit-wrapper .bootstrap-select.form-control {
    border: none !important;
    padding: 0 !important;
}

/* --- Premium Modal Redesign --- */
.modal-content {
    border: none !important;
    border-radius: 20px !important;
    overflow: visible !important;
    box-shadow: 0 25px 50px -12px rgba(225, 29, 72, 0.25) !important;
}

.modal-header {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    border-bottom: 1px solid #ffe4e6 !important;
    padding: 1.5rem 2rem !important;
}

.modal-header .modal-title {
    color: #111827 !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    display: flex;
    align-items: center;
}

.modal-header .modal-title::before {
    content: '';
    width: 5px;
    height: 22px;
    background: #e11d48;
    margin-right: 12px;
    border-radius: 10px;
}

.modal-header .close {
    background: #fff;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    color: #94a3b8 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.modal-header .close:hover {
    background: #e11d48;
    color: #fff !important;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem !important;
    background-color: #ffffff;
}

.modal-body label {
    font-weight: 700 !important;
    color: #334155 !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.6rem !important;
}

.modal-body .form-control {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    background-color: #f8fafc !important;
}

.modal-body .form-control:focus {
    border-color: #fda4af !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1) !important;
    outline: none !important;
}

.modal-footer {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9 !important;
    padding: 1.5rem 2rem !important;
    gap: 12px;
}

.modal-footer .btn {
    border-radius: 12px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.modal-footer .btn-light {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

.modal-footer .btn-light:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #e11d48, #be123c) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3) !important;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 20px -5px rgba(225, 29, 72, 0.4) !important;
    background: linear-gradient(135deg, #be123c, #9f1239) !important;
}

/* Fix for bootstrap select inside modal */
.modal-body .bootstrap-select>.dropdown-toggle {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    height: 48px !important;
    padding: 0.75rem 1rem !important;
}

.modal-body .bootstrap-select .dropdown-menu {
    border-radius: 16px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem !important;
}

.modal-body .bootstrap-select .dropdown-item {
    border-radius: 8px !important;
    margin: 2px 0 !important;
    padding: 0.6rem 1rem !important;
}

.modal-body .bootstrap-select .dropdown-item.active,
.modal-body .bootstrap-select .dropdown-item:active {
    background-color: #e11d48 !important;
}

/* Premium Avatar Uploader */
.premium-avatar-uploader-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.premium-avatar-inner {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px -5px rgba(225, 29, 72, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f1f5f9;
}

.upload-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    color: #e11d48 !important;
}

@keyframes avatar-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.upload-loading.active {
    display: flex;
    animation: avatar-pulse 1.5s infinite ease-in-out;
}

.premium-avatar-inner:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.3);
}

.avatar-preview {
    width: 100%;
    height: 100%;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.premium-avatar-inner:hover .avatar-overlay {
    opacity: 1;
}

.premium-avatar-inner:hover .avatar-preview img {
    transform: scale(1.1);
}

.overlay-content {
    text-align: center;
    color: #fff;
}

.overlay-content i {
    font-size: 2rem;
    display: block;
    margin-bottom: 4px;
}

.overlay-content span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.upload-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.premium-avatar-uploader-wrapper .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 2;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- Premium Action Modals (Deactivate/Delete) --- */
.premium-modal .modal-content {
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.premium-modal .modal-body {
    padding: 3rem 2rem !important;
}

.premium-modal .icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 3rem;
    transition: all 0.3s ease;
}

.premium-modal .icon-box.deactivate {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    color: #e11d48;
    box-shadow: 0 10px 20px -5px rgba(225, 29, 72, 0.2);
}

.premium-modal .icon-box.delete {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #ef4444;
    box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.2);
}

.premium-modal .modal-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.025em !important;
}

.premium-modal .modal-description {
    font-size: 1rem !important;
    color: #4b5563 !important;
    line-height: 1.6 !important;
    margin-bottom: 2.5rem !important;
    padding: 0 1rem;
}

.premium-modal .btn {
    padding: 0.875rem 2rem !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.95rem !important;
    min-width: 140px;
}

.premium-modal .btn-confirm-deactivate {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3) !important;
}

.premium-modal .btn-confirm-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3) !important;
}

.premium-modal .btn-confirm-deactivate:hover,
.premium-modal .btn-confirm-delete:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.premium-modal .btn-cancel {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

.premium-modal .btn-cancel:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-2px);
}

/* --- Privacy Requests Premium Styles --- */
.premium-nav-tabs {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.premium-nav-tabs .nav-item .nav-link {
    border: none;
    color: #64748b;
    padding: 1.25rem 1rem;
    position: relative;
    transition: all 0.3s;
}

.premium-nav-tabs .nav-item .nav-link:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.premium-nav-tabs .nav-item .nav-link.active {
    color: var(--primary);
    background: transparent;
}

.premium-nav-tabs .nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

.action-btn-reject {
    background: #fff1f2;
    color: #e11d48;
}

.action-btn-reject:hover {
    background: #e11d48;
    color: #fff;
}

.badge-soft-primary {
    background-color: #eef2ff;
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

/* Modals Redesign */
.premium-modal .modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.premium-modal .modal-body {
    padding: 2.5rem 2rem;
}

.premium-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 1.5rem;
}

.premium-modal-icon.icon-success {
    background: #f0fdf4;
    color: #10b981;
}

.premium-modal-icon.icon-danger {
    background: #fef2f2;
    color: #ef4444;
}

.premium-modal-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.premium-modal-footer {
    display: flex;
    gap: 12px;
}

.premium-modal-footer .btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-premium-cancel {
    background: #f1f5f9;
    color: #475569;
    border: none;
}

.btn-premium-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-premium-confirm {
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-premium-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-premium-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

@media (max-width: 768px) {
    .premium-interest-card .card-header {
        padding: 1rem;
    }

    .premium-nav-tabs .nav-item .nav-link {
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
    }

    .interest-table thead th {
        padding: 0.75rem 1rem;
    }

    .interest-table tbody td {
        padding: 1rem;
    }
}

.home-slider-area {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.home-slider-area .absolute-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.home-slider-area .img-fit {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.home-slider-area .container {
    z-index: 2;
}

.home-slider-text {
    z-index: 2;
}

.home-slider-text h1,
.home-slider-text .h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.home-slider-text p {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
}

/* Animated Register Button */
.account-btn.animated-btn {
    background: #ffffff;
    border: none;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.account-btn.animated-btn:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 60px rgba(225, 29, 72, 0.15);
}

.account-btn .big-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #e11d48;
    margin-bottom: 0.5rem;
}

.account-btn .sub-title {
    font-size: 1rem;
    color: #64748b;
}

/* Border Animation */
.border-anim {
    position: absolute;
    background: linear-gradient(90deg, #e11d48, #be123c);
    transition: all 0.5s ease;
}

.border-anim.top {
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
}

.border-anim.right {
    top: -100%;
    right: 0;
    width: 4px;
    height: 100%;
}

.border-anim.bottom {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 4px;
}

.border-anim.left {
    bottom: -100%;
    left: 0;
    width: 4px;
    height: 100%;
}

.account-btn:hover .border-anim.top {
    left: 0;
}

.account-btn:hover .border-anim.right {
    top: 0;
}

.account-btn:hover .border-anim.bottom {
    right: 0;
}

.account-btn:hover .border-anim.left {
    bottom: 0;
}

/* Registration Form Container */
.register-form-box {
    position: relative;
    z-index: 10;
}

.custom-shadow-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 30px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

/* Form Controls */
.form-default .form-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 0.25rem;
}

.form-default .form-group {
    margin-bottom: 0.75rem !important;
}

.form-default .form-control {
    border-radius: 10px !important;
    padding: 0.5rem 0.85rem !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    color: #1e293b !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    height: auto !important;
}

.form-default .form-control:focus {
    background-color: #ffffff !important;
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1) !important;
}

.round-btn#createAccountBtn {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
}

.round-btn#createAccountBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.4);
}

.round-btn#createAccountBtn:disabled {
    background: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
}

.aiz-selectpicker+.dropdown-toggle {
    border-radius: 10px !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.5rem 0.85rem !important;
}

.aiz-selectpicker+.dropdown-toggle:focus {
    border-color: #e11d48 !important;
}

.password-reveal {
    border-radius: 0 10px 10px 0 !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-left: none !important;
    color: #64748b !important;
    padding: 0 1rem !important;
    transition: all 0.3s ease !important;
}

.password-reveal:hover {
    color: #e11d48 !important;
    background-color: #f8fafc !important;
}

.form-default .input-group .form-control {
    border-right: none !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .home-slider-text {
        text-align: center;
        margin-bottom: 2rem;
    }

    .home-slider-text h1 {
        font-size: 2.8rem;
    }

    .account-btn.animated-btn {
        margin: 0 auto;
    }

    .register-form-box {
        margin-top: 2rem;
    }
}

/* --- Premium Blog Redesign Styles --- */
.premium-blog-header {
    background: linear-gradient(135deg, #b71b1c 0%, #e53935 100%), url('/assets/img/blog-bg-pattern.png');
    background-size: cover;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

.premium-blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.premium-blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9 !important;
}

.premium-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.card-image-wrap {
    position: relative;
    overflow: hidden;
}

.hover-scale {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-blog-card:hover .hover-scale {
    transform: scale(1.1);
}

.blog-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #e11d48;
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.blog-title-link {
    transition: color 0.3s ease;
    display: block;
}

.blog-title-link:hover {
    color: #e11d48 !important;
}

.line-2-max {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.line-3-max {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.btn-premium-blog {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 700;
    padding: 12px 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-blog-card:hover .btn-premium-blog {
    background: #e11d48;
    color: #fff;
    border-color: #e11d48;
}

.aiz-pagination .pagination .page-item.active .page-link {
    background-color: #e11d48;
    border-color: #e11d48;
    border-radius: 8px;
}

.aiz-pagination .pagination .page-item .page-link {
    border-radius: 8px;
    margin: 0 3px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .premium-blog-header .display-4 {
        font-size: 2.5rem;
    }
}

.blog-back-link {
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none !important;
}

.blog-back-link:hover {
    transform: translateX(-5px);
    opacity: 1 !important;
}

.premium-article-wrap {
    border-radius: 24px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.article-banner {
    max-height: 500px;
    overflow: hidden;
}

.article-banner img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.blog-description {
    color: #334155;
}

.blog-description p {
    margin-bottom: 1.5rem;
}

.blog-description img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.line-height-1-8 {
    line-height: 1.8 !important;
}

@media (max-width: 991px) {
    .premium-article-wrap {
        margin-top: -40px;
        border-radius: 16px;
    }
}

/* Fix Register Page Dropdown Cut-off on Desktop */
@media (min-width: 992px) {
    .register-card-body .bootstrap-select .dropdown-menu {
        top: 100% !important;
        bottom: auto !important;
    }

    /* Ensure the container has enough overflow space if needed */
    .register-form-group {
        position: relative;
    }
}

/* Profile Navigation Styles */
.profile-nav-wrapper {
    position: relative;
    z-index: 100;
    margin-top: -10px;
    width: 300px;
}

.profile-nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-nav-link:hover .nav-thumb {
    transform: scale(1.1);
    border-color: #e11d48 !important;
}

.size-35px {
    width: 32px;
    height: 32px;
}

@media (min-width: 768px) {
    .size-md-40px {
        width: 40px;
        height: 40px;
    }

    .size-35px {
        width: 35px;
        height: 35px;
    }
}

.bg-white-10 {
    background: rgba(255, 255, 255, 0.15) !important;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.border-white-20 {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.hov-text-warning:hover {
    color: #ffd700 !important;
    text-decoration: none !important;
}

.premium-profile-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 5px;
}

@media (max-width: 767px) {
    .profile-nav-wrapper {
        margin-bottom: 1.25rem !important;
        padding: 0 5px;
    }

    .profile-nav-wrapper .d-flex {
        padding: 6px 12px !important;
    }

    .profile-header-section {
        padding-top: 1rem !important;
        padding-bottom: 3rem !important;
    }

    .profile-nav-wrapper .fw-700 {
        font-size: 10px !important;
        letter-spacing: 0;
    }

    .size-35px {
        width: 30px;
        height: 30px;
    }

    .profile-nav-wrapper i {
        font-size: 14px !important;
    }

    .nav-divider {
        display: none !important;
    }
}

@media (max-width: 400px) {
    .profile-nav-wrapper .fw-700 {
        display: none !important;
    }

    .profile-nav-wrapper .d-flex {
        padding: 4px 10px !important;
        justify-content: center !important;
    }

    .nav-divider {
        margin: 0 15px !important;
        display: block !important;
        /* Show divider even on small screens to separate arrows */
    }
}

/* --- Support Ticket Redesign --- */
.ticket-history-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ticket-item-row {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.ticket-item-row:hover {
    background-color: #fdf2f3;
}

.ticket-id-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
}

.ticket-status-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-soft-success {
    background-color: #def7ec;
    color: #046c4e;
}

.badge-soft-danger {
    background-color: #fde8e8;
    color: #9b1c1c;
}

.ticket-view-btn {
    background: #fff !important;
    border: 1.5px solid #ffe4e6 !important;
    color: var(--primary) !important;
    padding: 6px 16px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
}

.ticket-view-btn:hover {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2) !important;
}

/* Chat Layout Styles */
.ticket-chat-container {
    max-width: 900px;
    margin: 0 auto;
}

.chat-bubble {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    position: relative;
    max-width: 85%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.chat-bubble-user {
    background: #fff;
    border: 1px solid #f1f5f9;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.chat-bubble-admin {
    background: #fdf2f3;
    border: 1px solid #ffe4e6;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-user-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
}

.chat-time {
    font-size: 11px;
    color: #94a3b8;
    margin-left: auto;
}

.chat-message {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.ticket-attachment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.attachment-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 8px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: block;
}

.attachment-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.attachment-thumb {
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.attachment-thumb i {
    font-size: 24px;
    color: #94a3b8;
}

.attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attachment-name {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Create Ticket Form */
.create-ticket-card {
    border: none;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.form-label-custom {
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-control-premium {
    border: 1.5px solid #f1f5f9 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease !important;
    background-color: #f8fafc !important;
}

.form-control-premium:focus {
    background-color: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px var(--soft-primary) !important;
}

.reply-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

/* --- Support Ticket History & User Panel Responsiveness --- */
@media (max-width: 991px) {
    .aiz-user-panel {
        padding-left: 0 !important;
        margin-top: 1.5rem;
    }
}

.ticket-history-card {
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
}

.ticket-history-card .card-header {
    background: #fff;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1.5rem 1.5rem !important;
}

.ticket-item-row {
    transition: all 0.2s ease;
}

.ticket-item-row:hover {
    background-color: #f8fafc !important;
}

.ticket-id-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.ticket-status-badge {
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-view-btn {
    background: #fff;
    border: 1.5px solid #f1f5f9;
    color: #475569;
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 13px;
    transition: all 0.2s;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-block;
}

.ticket-view-btn:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--soft-primary);
}

@media (max-width: 768px) {
    .ticket-history-card .card-header .w-100 {
        flex-direction: column !important;
        gap: 15px;
    }

    .ticket-history-card .card-header h5 {
        width: 100%;
        text-align: center;
    }

    .ticket-history-card .card-header .col-md-3 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }

    .aiz-titlebar h1 {
        text-align: center;
        margin-bottom: 1rem;
    }

    .aiz-titlebar .text-md-right {
        text-align: center !important;
    }

    .aiz-titlebar .btn-primary {
        width: 100% !important;
        justify-content: center;
    }
}

.ticket-history-card .table td {
    vertical-align: middle !important;
    padding: 1.25rem 0.75rem !important;
    color: #475569;
}

th.border-0 {
    width: 200px;
}

@media (max-width: 576px) {
    .ticket-history-card .table {
        min-width: 600px;
        /* Force scroll on very small screens to maintain layout */
    }

    .table-responsive {
        border-radius: 12px;
    }
}

/* Terms and Conditions Styling */
.terms-condition-text p {
    color: #64748b;
    line-height: 1.6;
}

.terms-condition-text a {
    color: #e11d48 !important;
    text-decoration: underline !important;
}

.terms-condition-text a:hover {
    text-decoration: none !important;
}

/* --- Member Verification Redesign --- */
.verification-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: none;
    margin-top: 20px;
}

.verification-header {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    padding: 30px;
    color: #fff;
    text-align: left;
}

.verification-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.verification-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.verification-body {
    padding: 40px;
}

.verification-form-group {
    margin-bottom: 25px;
}

.verification-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: block;
}

.verification-label span {
    color: #e11d48;
}

.verification-control {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    transition: all 0.2s ease !important;
    width: 100%;
}

.verification-control:focus {
    background-color: #fff !important;
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1) !important;
}

/* Custom File Input */
.verification-file-input {
    position: relative;
    width: 100%;
    height: 120px;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verification-file-input:hover {
    border-color: #e11d48;
    background: #fff1f2;
}

.verification-file-input i {
    font-size: 2rem;
    color: #64748b;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.verification-file-input:hover i {
    color: #e11d48;
    transform: translateY(-5px);
}

.verification-file-input span {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.verification-file-input input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Radio & Checkbox Styling */
.verification-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.verification-radio-item {
    position: relative;
}

.verification-radio-item input {
    position: absolute;
    opacity: 0;
}

.verification-radio-item label {
    padding: 10px 20px 10px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    margin-bottom: 0;
}

.verification-radio-item label::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    background: #fff;
    transition: all 0.2s ease;
}

/* Radio circle */
.verification-radio-item input[type="radio"]+label::before {
    border-radius: 50%;
}

/* Checkbox square */
.verification-radio-item input[type="checkbox"]+label::before {
    border-radius: 6px;
}

.verification-radio-item input:checked+label {
    background: #fff1f2;
    color: #e11d48;
    border-color: #e11d48;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.05);
}

.verification-radio-item input:checked+label::before {
    border-color: #e11d48;
    background: #e11d48;
}

.verification-radio-item input:checked+label::after {
    content: '\f00c';
    font-family: "Line Awesome Free";
    font-weight: 900;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 10px;
}

/* Radio inner dot instead of tick if preferred, but tick is standard for "checked" look */
.verification-radio-item input[type="radio"]:checked+label::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    left: 21px;
}

.verification-submit-btn {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 40px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3) !important;
}

.verification-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -5px rgba(225, 29, 72, 0.4) !important;
}

@media (max-width: 768px) {
    .verification-body {
        padding: 25px;
    }
}

/* Small Member Card styling */
.member-card-small {
    transition: transform 0.3s ease;
    border-color: #f1f5f9 !important;
    padding: 12px 10px !important;
    /* Reduced padding */
}

.member-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.member-card-small .member-img-container {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
}

.member-card-small .connect-now-btn {
    border-width: 1px !important;
    background: transparent !important;
    transition: all 0.3s ease;
    font-size: 11px !important;
    /* Smaller button font */
}

/* Premium - Teal border */
.member-card-small.is-premium .connect-now-btn {
    border-color: #26b9cc !important;
    color: #26b9cc !important;
}

.member-card-small.is-premium .connect-now-btn:hover {
    background: #26b9cc !important;
    color: #fff !important;
}

/* New - Red border */
.member-card-small.is-new .connect-now-btn {
    border-color: #f34b5c !important;
    color: #f34b5c !important;
}

.member-card-small.is-new .connect-now-btn:hover {
    background: #f34b5c !important;
    color: #fff !important;
}

/* Advanced Search Compact */
.aiz-filter-sidebar .card-header {
    padding: 0.5rem 0.75rem !important;
}

.aiz-filter-sidebar .card-header h5 {
    font-size: 13px !important;
}

.aiz-filter-sidebar .form-label {
    font-size: 10px !important;
    margin-bottom: 2px !important;
}

.aiz-filter-sidebar .form-control {
    height: 32px !important;
    font-size: 11px !important;
    padding: 2px 12px !important;
}

.aiz-filter-sidebar select.form-control,
.aiz-filter-sidebar .aiz-selectpicker+button {
    height: 32px !important;
    font-size: 11px !important;
    padding: 2px 12px !important;
    line-height: 28px !important;
}

.aiz-filter-sidebar .btn-block {
    padding: 6px 12px !important;
    font-size: 12px !important;
}

.aiz-filter-sidebar .aiz-radio-list .aiz-radio {
    font-size: 10px !important;
    margin-bottom: 4px !important;
}

.aiz-filter-sidebar .separator span {
    font-size: 9px !important;
}

/* Dashboard Vertical Member Cards */
.dash-member-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f2f5;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.dash-member-card .card-header {
    background: transparent;
    border-bottom: 1px solid #f0f2f5;
    padding: 1rem 1.25rem;
}

.dash-member-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.dash-member-badge {
    background: #e11d48;
    color: #fff;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 10px;
}

.dash-member-list {
    padding: 0;
}

.dash-member-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s;
    text-decoration: none !important;
}

.dash-member-item:last-child {
    border-bottom: none;
}

.dash-member-item:hover {
    background-color: #f8fafc;
}

.dash-member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dash-member-info {
    flex-grow: 1;
    min-width: 0;
}

.dash-member-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

.dash-premium-icon {
    color: #e11d48;
    font-size: 14px;
    margin-left: 4px;
}

.dash-member-meta {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-connect-now {
    text-align: center;
    padding-left: 10px;
    min-width: 70px;
}

.dash-connect-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #e11d48;
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dash-connect-now:hover:not(.sent) .dash-connect-icon {
    background: #e11d48;
    color: #fff;
    transform: scale(1.1);
}

/* Ensure Carousel Pills are Pink Outline Unsent, Solid Green Sent */
.dash-connect-now.btn-outline-primary:not(.sent) {
    border-color: #e11d48 !important;
    color: #e11d48 !important;
}

.dash-connect-now.btn-outline-primary:not(.sent):hover {
    background-color: #e11d48 !important;
    color: #fff !important;
}

.dash-connect-now.sent.btn-outline-primary {
    background-color: #22c55e !important;
    border-color: #22c55e !important;
    color: #fff !important;
}

.dash-connect-now.sent.btn-outline-primary .dash-connect-icon i {
    color: #fff !important;
}

.dash-connect-icon.pending {
    border-color: #e11d48;
    color: #e11d48;
}

.dash-connect-text {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    display: block;
}

/* Listing Sidebar/Action Buttons */
.dash-connect-now.sent .dash-connect-icon {
    background: #2eb8c9 !important;
    color: #fff !important;
    border-color: #2eb8c9 !important;
    animation: scaleIn 0.3s ease forwards;
}

.dash-connect-now.sent .dash-connect-icon i {
    color: #fff !important;
}

.dash-connect-now.sent .dash-connect-text {
    color: #2eb8c9;
}

/* Override for pill text when sent */
.dash-connect-now.sent.btn-outline-primary .dash-connect-text {
    color: #fff !important;
}

.dash-card-footer {
    padding: 12px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}

.dash-view-all {
    color: #2563eb;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}

.dash-view-all:hover {
    color: #1d4ed8;
    text-decoration: underline !important;
}

/* Grid adjustment for dashboard */
@media (min-width: 1200px) {
    .dash-row-cards {
        display: flex;
        flex-wrap: wrap;
        margin-right: -10px;
        margin-left: -10px;
    }

    .dash-col-card {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding-right: 10px;
        padding-left: 10px;
    }
}

/* Upgrade Button Animation */
.upgrade-btn-animated {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e11d48 0%, #e11d48 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
    animation: premium-pulse 2s infinite, button-active-scale 4s infinite;
    transition: all 0.3s ease !important;
}

.upgrade-btn-animated::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.5);
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
}

.upgrade-btn-animated:hover {
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.6);
    background: linear-gradient(135deg, #e11d48 0%, #e11d48 100%) !important;
}

.upgrade-btn-animated i {
    animation: crown-wiggle 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    30% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

@keyframes button-active-scale {

    0%,
    80%,
    100% {
        transform: scale(1);
    }

    85% {
        transform: scale(1.05);
    }

    90% {
        transform: scale(1);
    }

    95% {
        transform: scale(1.05);
    }
}

@keyframes premium-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(217, 119, 6, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

@keyframes crown-wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-15deg);
    }

    20%,
    40% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

/* Member Listing Carousel Modern Design - As per image */
.member-card-small {
    border: 1px solid #f1f5f9 !important;
    border-radius: 16px !important;
    transition: all 0.3s ease;
    background: #fff;
    overflow: visible !important;
}

.member-card-small:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px);
}

.member-card-small .member-img-container img {
    border: 4px solid #fff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.member-card-small .dash-connect-now {
    border: 1.5px solid #2eb8c9 !important;
    background: transparent !important;
    color: #2eb8c9 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.member-card-small .dash-connect-now:hover {
    background: #2eb8c9 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(46, 184, 201, 0.3);
}

.member-card-small .dash-connect-now .dash-connect-icon {
    border: none !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    color: inherit !important;
    background: transparent !important;
}

.member-card-small .dash-connect-now .dash-connect-icon i {
    color: inherit !important;
    font-size: 16px;
    margin-right: 4px !important;
}

.member-card-small .dash-connect-now .dash-connect-text {
    display: inline-block !important;
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-left: 0px !important;
    padding: 0 !important;
}

.member-card-small .dash-connect-now.sent {
    background: rgb(46 184 201) !important;
    color: #fff !important;
}

.member-card-small .dash-connect-now.sent:hover {
    background: #2eb8c9 !important;
    color: #fff !important;
}

.member-card-small .badge-inline.bg-danger {
    background-color: #ff4d6d !important;
    /* Pinkish red like image */
}
/* --- Redesigned Mobile Bottom Nav --- */
.aiz-mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 24px 24px 0 0;
    padding: 8px 10px 12px;
    height: auto !important;
    z-index: 1040;
}

.aiz-mobile-bottom-nav .nav-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    margin: 0 auto;
    max-width: 500px;
}

.aiz-mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.nav-link-modern {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #64748b !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5px 0;
}

.nav-link-modern i {
    font-size: 22px;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.nav-link-modern span {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.nav-link-modern.active {
    color: var(--primary) !important;
}

.nav-link-modern.active i {
    transform: translateY(-2px);
}

/* Center Explore Button */
.nav-item.center {
    margin-top: -25px;
}

.nav-link-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    z-index: 2;
}

.center-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.4);
    border: 4px solid #fff;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 4px;
}

.nav-link-center.active .center-circle {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 15px 25px rgba(225, 29, 72, 0.5);
}

.center-text {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

/* Badges & Icons */
.icon-wrap {
    position: relative;
}

.nav-link-modern .badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    font-size: 9px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 2px solid #fff;
}

.nav-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #e2e8f0;
    margin-bottom: 2px;
}

.nav-link-modern.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

