:root {
    /* Colors */
    --color-bg-main: #0C001C;
    --color-bg-card: #180D2C;
    --color-purple: #A641EF;
    --color-purple-gradient: linear-gradient(180deg, #A641EF 0%, #D046F0 100%);
    --color-text-white: #FFFFFF;
    --color-text-gray: #A0A0A0;
    --color-border: rgba(166, 65, 239, 0.15);

    /* Global Status Colors */
    --color-status-paid: #2ECC71;
    /* Green */
    --color-status-processing: #3498DB;
    /* Blue */
    --color-status-shipped: #F39C12;
    /* Orange/Yellow */

    /* Typography */
    --font-family: 'Inter', sans-serif;

    /* Layout Sizes */
    --sidebar-width: 20rem;
    /* Increased Sidebar Width (320px) */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

html {
    overflow: hidden;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: var(--font-family);
    background-color: var(--color-bg-main);
    color: var(--color-text-white);
    line-height: 1.4;
    overflow-y: auto;
    overflow-x: hidden;
}

.no-scroll {
    overflow: hidden !important;
}

/* Top Header Bar */
.top-header {
    width: 100%;
    height: 7rem;
    /* 112px - matched to h-28 */
    background: var(--color-bg-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    /* Adjusted for desktop balance */
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
    flex-wrap: wrap;
    /* Critical for mobile stacking */
    transition: all 0.3s ease;
}

.top-header__logo {
    width: var(--sidebar-width);
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-main {
    width: 110px;
    /* Slightly larger on desktop */
    height: auto;
}

.top-header__welcome {
    flex-grow: 1;
    text-align: left;
    padding-left: 0;
}

@media (min-width: 768px) {
    .top-header__welcome {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
}

.top-header__welcome .header__title {
    font-size: 1.5rem;
    font-weight: 900;
}

.header__subtitle {
    color: var(--color-text-gray);
    font-size: 0.875rem;
    /* sm */
    margin-top: 0.3125rem;
    opacity: 0.8;
}

.top-header__profile {
    width: auto;
    display: flex;
    justify-content: flex-end;
}

.header__avatar {
    width: 3.5rem;
    /* 56px */
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Tablet Layout (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .top-header {
        gap: 2.25rem;
    }

    .top-header__logo,
    .top-header__profile {
        width: auto;
    }
}

/* Mobile Layout (Below 768px) */
@media (max-width: 767px) {
    .top-header {
        height: 7rem;
        padding: 0 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
    }

    .top-header__logo {
        width: auto;
        padding-right: 0;
    }

    .logo-main {
        width: 80px;
    }

    .top-header__welcome {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-grow: 1;
        margin: 0;
        padding: 0;
    }

    .top-header__profile {
        width: auto;
    }

    .header__avatar {
        width: 2.75rem;
        height: 2.75rem;
    }

    .header__welcome-text {
        display: none !important;
    }
}


/* Dashboard Container */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 7rem);
    padding: 0;
    /* Set to 0 as requested */
    position: relative;
    width: 100%;
    margin-top: 7rem;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: #140926;
    height: 100vh;
    /* Lock to viewport height */
    position: fixed;
    /* Keep fixed relative to the screen */
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding-top: 8.75rem;
    /* Clear the 7rem header with a balanced space */
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    /* Independent vertical scrolling if items overflow */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) rgba(0, 0, 0, 0.05);
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sidebar__logo-area {
    padding: 1.25rem 0.625rem 1.25rem 0;
    display: flex;
    justify-content: flex-end;
}

.sidebar__logo-tiny {
    width: 5.625rem;
    height: auto;
    object-fit: contain;
}

.sidebar__nav {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

.sidebar__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    height: auto !important;
    overflow: visible !important;
}

.sidebar__item {
    padding: 0.8rem 2.5rem;
}

.sidebar__item--open {
    padding-bottom: 0;
}

.sidebar__link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.sidebar__link {
    display: flex;
    align-items: center;
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    white-space: nowrap;
    /* Keep on 1 line for Desktop/1440p/2560p */
    line-height: 1.2;
    width: 100%;
    align-items: center;
    /* Center icon with potentially 2 lines of text */
}

.sidebar__chevron {
    width: 12px;
    height: 8px;
    transition: transform 0.3s ease;
}

.sidebar__item--open .sidebar__chevron {
    transform: rotate(180deg);
}

.sidebar__submenu {
    list-style: none;
    padding-left: 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-top 0.3s ease;
}

.sidebar__item--open .sidebar__submenu {
    max-height: 2000px;
    margin-top: 10px;
    overflow: visible;
}

.sidebar__submenu-item {
    padding: 0.625rem 0;
}

.sidebar__submenu-link {
    color: var(--color-text-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.sidebar__submenu-link::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #FFFFFF;
    border-radius: 50%;
    margin-right: 12px;
}

.sidebar__submenu-link:hover,
.sidebar__submenu-link--active {
    color: var(--color-purple);
}

.sidebar__submenu-link:hover::before,
.sidebar__submenu-link--active::before {
    background-color: var(--color-purple);
}

.sidebar__icon {
    width: 1.125rem;
    height: 1.125rem;
    margin-right: 1.25rem;
    filter: brightness(0) invert(1);
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar__icon-small {
    width: 1rem;
    height: 1rem;
    margin-right: 1.25rem;
    filter: brightness(0) invert(1);
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar__item--active .sidebar__link {
    color: var(--color-purple);
}

.sidebar__item--active .sidebar__icon,
.sidebar__item--active .sidebar__icon-small {
    filter: invert(36%) sepia(94%) saturate(4649%) hue-rotate(258deg) brightness(97%) contrast(96%);
}

.sidebar__footer {
    margin-top: auto;
    padding-bottom: 30px;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    margin-left: var(--sidebar-width);
    padding: 0 3rem 1.5625rem 3rem;
    min-width: 0;
    /* Critical: allow content to shrink/not push parent */
    overflow-x: hidden;
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    /* Removed margin to pull content up */
}

.header__title {
    font-size: 1.4rem;
    font-weight: 700;
}

.header__subtitle {
    color: var(--color-text-gray);
    font-size: 0.875rem;
}

.header__avatar {
    width: 2.875rem;
    height: 2.875rem;
    border-radius: 50%;
    object-fit: cover;
}

/* Section Hub */
.section-hub {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
        /* No max-width, full width layout */
        /* Removed centering margin to allow full stretch */
        margin: 0;
        /* Ensure content can expand */
        min-width: 0;
}

/* Align cards with the header: remove the extra side indentation so
   card elements span the same left/right edges as the header across
   all breakpoints. The header (`.card-header-bar`) already has
   no side margin so this keeps it unchanged. */
.section-hub > * {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.card-header-bar {
    background: #191029;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--color-border);
    margin: 0;
    margin-right: 0;
    /* Removed overhang to ensure consistent right-side space */
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.header-actions-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
    /* Reduced gap as requested */
}

.btn-add-device {
    background: var(--color-purple-gradient);
    color: white;
    border: none;
    padding: 0.625rem 1.375rem;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(166, 65, 239, 0.3);
}

.btn-add-device:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 65, 239, 0.4);
}

.btn-add-device img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* Cards */
.card {
    background: #180D2C;
    /* Glassy background */
    padding: 0.75rem;
    margin-bottom: 10px !important;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* Glassy border */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align to top to ensure text lines up perfectly */
    margin-bottom: 8px;
}

.card__title {
    font-size: 1rem;
    font-weight: 700;
}

/* Reduced */

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.summary-card {
    background: #180D2C;
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* Glassy border */
    backdrop-filter: blur(0.5rem);
    flex: 1;
    min-width: 200px;
    /* Reduced min-width to allow better fit on mid-screens */
}

.summary-card__icon-wrapper img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.summary-card__label {
    font-size: 0.875rem;
    color: var(--color-text-gray);
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: block;
}

.summary-card__value {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Increased */

/* Content Row Split */
.content-row-split {
    display: flex;
    flex-wrap: wrap;
    /* Allow cards to wrap on mid-sized screens */
    gap: 16px;
    align-items: stretch;
}

.content-row-split>section {
    flex: 1;
    min-width: 380px;
    /* Force wrap if container is too narrow */
}

/* Status Colors - Increased specificity to override global td color */
.data-table td.status-paid,
.status-paid,
.status-active {
    color: var(--color-status-paid) !important;
    font-weight: 700;
    font-size: 0.9375rem;
}

.data-table td.status-processing,
.status-processing {
    color: var(--color-status-processing) !important;
    font-weight: 700;
    font-size: 0.9375rem;
}

.data-table td.status-shipped,
.status-shipped {
    color: var(--color-status-shipped) !important;
    font-weight: 700;
    font-size: 15px;
}

.status-out-of-stock {
    color: #E74C3C !important;
    font-weight: 700;
    font-size: 15px;
}

.status-draft {
    color: #F1C40F !important;
    font-weight: 700;
    font-size: 15px;
}

.status-inactive {
    color: #95A5A6 !important;
    font-weight: 700;
    font-size: 15px;
}

/* Order List */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #180D2C;
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* Glassy border */
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.order-item__user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.order-item__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.order-item__name {
    display: block;
    font-size: 17px;
    font-weight: 600;
}

/* Increased */
.order-item__device {
    font-size: 14px;
    color: #FFFFFF;
}

/* White color & increased size */

/* Tables */
.data-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on mobile */
}

.data-table {
    width: 100%;
    min-width: 900px;
    /* Increased to ensure all columns fit on one line */
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    /* Locked layout for perfect column control */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.data-table th {
    text-align: center;
    padding: 0.75rem 0.625rem;
    color: var(--color-text-gray);
    font-weight: 700;
    background: rgba(29, 18, 43, 0.8);
    font-size: 1rem;
    white-space: nowrap;
}

/* Specific Column Widths for Device Management */
.data-table th:nth-child(1) {
    width: 8%;
}

/* S.No */
.data-table th:nth-child(2) {
    width: 25%;
}

/* Device */
.data-table th:nth-child(3) {
    width: 20%;
}

/* Model No. */
.data-table th:nth-child(4) {
    width: 12%;
}

/* Price */
.data-table th:nth-child(5) {
    width: 15%;
}

/* Status */
.data-table th:nth-child(6) {
    width: 20%;
}

/* Action */

/* Specific Column Widths for Orders Page */
.table-orders th:nth-child(1) {
    width: 12%;
}

/* Order Id */
.table-orders th:nth-child(2) {
    width: 18%;
}

/* Customer */
.table-orders th:nth-child(3) {
    width: 20%;
}

/* Device */
.table-orders th:nth-child(4) {
    width: 18%;
}

/* Model No. */
.table-orders th:nth-child(5) {
    width: 15%;
}

/* Status */
.table-orders th:nth-child(6) {
    width: 17%;
}

/* Action */

/* condensed 3-column tables for Dashboard */
.table-condensed {
    min-width: unset !important;
    width: 100% !important;
    table-layout: auto !important;
    /* Allow columns to fit content on smaller screens */
}

.table-condensed th,
.table-condensed td {
    padding: 1rem 0.5rem !important;
    font-size: 0.875rem !important;
}

.table-condensed th:nth-child(1),
.table-condensed td:nth-child(1) {
    width: 35% !important;
}

.table-condensed th:nth-child(2),
.table-condensed td:nth-child(2) {
    width: 35% !important;
}

.table-condensed th:nth-child(3),
.table-condensed td:nth-child(3) {
    width: 30% !important;
}

.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--color-text-white);
    font-size: 14px;
    flex: 1;
    /* Stretch to fill all available space on the same line */
    min-width: 0;
    /* Allow it to shrink if needed instead of wrapping */
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--color-purple);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

/* Hamburger Toggle */
.sidebar-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 15px;
    z-index: 1002;
}

.sidebar-toggle:hover .hamburger-line {
    background-color: white;
    opacity: 0.8;
}

/* Sidebar collapsed states for desktop */
@media (min-width: 1024px) {
    body.sidebar-collapsed .sidebar {
        left: calc(-1 * var(--sidebar-width)) !important;
    }

    body.sidebar-collapsed .main-content {
        margin-left: 0 !important;
    }
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
}

.sidebar-close {
    display: none;
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1002;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}


/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    /* Much lighter tint */
    backdrop-filter: blur(8px);
    /* Increased blur for premium feel */
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay--active {
    display: block;
    opacity: 1;
}

/* --- Profile Dropdown Styles --- */
.profile-dropdown-wrapper {
    position: relative;
}

.header__avatar {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.header__avatar:active {
    transform: scale(0.95);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 200px;
    background: #0D051F;
    /* Dark background matched to Figma */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 2000;
}

.profile-dropdown--open {
    display: flex;
    animation: dropdownFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

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

.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #A641EF;
}

.dropdown-item span {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.dropdown-item img {
    width: 18px;
    height: 18px;
    opacity: 0.9;
    transition: all 0.2s ease;
}

.dropdown-item:hover img {
    opacity: 1;
    /* Filter to achieve #A641EF purple from white/light gray icon */
    filter: invert(34%) sepia(91%) saturate(3644%) hue-rotate(258deg) brightness(96%) contrast(98%);
}

@media (max-width: 600px) {
    .profile-dropdown {
        right: -10px;
        /* Slight adjustment for mobile edges */
        width: 180px;
    }
}

/* Revenue Grid Themed */
.revenue-grid-themed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.75rem;
}

.revenue-item-themed {
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* Glassy border */
    background: rgba(25, 16, 41, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 1.5625rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    transition: 0.3s;
}

.revenue-item-themed:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-renue {
    margin-left: auto;
}
.rev-label {
    font-size: 16px;
    color: var(--color-text-gray);
    font-weight: 700;
}

.rev-value {
    font-size: 24px;
    font-weight: 700;
}

/* Sales Overview Actions */
.card__actions-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
    margin-top: -5px;
    flex-shrink: 0;
}

.filter-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: auto;
    flex-shrink: 0;
}

.filter-icon-left {
    position: absolute;
    left: 15px;
    pointer-events: none;
    z-index: 2;
    width: 18px;
    height: 18px;
}

.filter-arrow {
    position: absolute;
    right: 15px;
    pointer-events: none;
    z-index: 2;
    width: 18px;
    height: 18px;
}

.dropdown-themed {
    background: rgba(25, 16, 41, 0.85) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 50px 10px 16px;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    font-weight: 700;
    appearance: none;
    cursor: pointer;
    width: 100%;
    flex: 1;
    min-width: 110px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    outline: none;
}

.chart-container {
    margin-top: 30px;
    padding: 30px 20px 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(25, 16, 41, 0.7);
    backdrop-filter: blur(10px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.chart-body {
    display: flex;
    height: 240px;
    gap: 15px;
    position: relative;
    align-items: flex-start;
    min-width: 500px;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 11px;
    color: var(--color-text-gray);
    width: 35px;
    text-align: right;
    padding-bottom: 30px;
    height: 100%;
}

.chart-grid-lines {
    position: absolute;
    left: 45px;
    right: 0;
    top: 0;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.chart-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.chart-bars-pill {
    flex-grow: 1;
    height: calc(100% - 30px);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 10px;
    gap: 12px;
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    width: 32px;
    position: relative;
}

.chart-bar-pill {
    width: 100%;
    background: #000000;
    border-radius: 20px;
    transition: height 0.6s ease;
}

.chart-label {
    font-size: 11px;
    color: var(--color-text-gray);
    position: absolute;
    bottom: -25px;
    width: 100%;
    text-align: center;
}

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

.pagination__btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 600;
    font-size: 0.875rem;
}

.pagination__btn--active {
    background: rgba(166, 65, 239, 0.2);
    border-color: var(--color-purple);
    color: var(--color-purple);
}

.pagination__btn:hover:not(.pagination__btn--active) {
    background: rgba(255, 255, 255, 0.05);
}

.pagination__arrow {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

.data-table td {
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #FFFFFF;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4));
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 0.0625rem;
}

.data-table tr:last-child td {
    background-image: none;
    border-bottom: none;
}

.card__footer {
    padding: 25px 0 0 0;
    display: flex;
    justify-content: flex-end;
}

.btn-view,
.btn-view-all {
    background: var(--color-purple-gradient);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.actions-body-centered {
    padding: 30px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    min-height: 260px;
}

.renewals-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    min-height: 260px;
}

.activity-item-themed {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.renewal-item-themed {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    transition: all 0.3s ease;
}

.activity-item-themed:hover,
.renewal-item-themed:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.activity-text,
.renewal-name {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
}

.activity-date,
.renewal-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.renewal-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-renue {
    background: var(--color-purple-gradient);
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(166, 65, 239, 0.3);
}

.btn-renue:hover:not(.btn-renue--disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(166, 65, 239, 0.5);
}

/* Orders Page Specific Controls - Ported from Man-Admin */
.orders-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.search-box-themed {
    flex: 1;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.search-box-themed:focus-within {
    border-color: rgba(166, 65, 239, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.search-input-themed {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 14px;
    width: 100%;
    outline: none;
}

.search-input-themed::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.filter-wrapper {
    position: relative;
    min-width: 180px;
}

.dropdown-themed {
    width: 100%;
    padding: 12px 18px;
    background: #180D2C;
    border: 1px solid rgba(166, 65, 239, 0.3);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

.dropdown-themed:hover {
    border-color: #A641EF;
    background: #1F1133;
}

.dropdown-themed option {
    background: #180D2C;
    color: #FFFFFF;
    padding: 10px;
}

.filter-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.7;
}

.status-badge {
    font-weight: 600;
    font-size: 14px;
}

/* ==========================================================================
   DATA TABLE STYLES
   ========================================================================== */
.data-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 10px;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table thead th {
    background: #1F1133;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.data-table thead th:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top-left-radius: 12px;
}

.data-table thead th:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top-right-radius: 12px;
}

.data-table tbody td {
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    vertical-align: middle;
}

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

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Status Badges */
.status-paid {
    color: #2ECC71;
    font-weight: 600;
}

.status-shipped {
    color: #F39C12;
    font-weight: 600;
}

.status-processing {
    color: #3498DB;
    font-weight: 600;
}

/* Action Links */
.view-spec-link {
    color: #A641EF;
    text-decoration: underline;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.view-spec-link:hover {
    color: #C52EFF;
}

.btn-renue--disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    box-shadow: none;
}

.card-pagination-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

/* Universal Scrollbar Theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0D051D;
}

::-webkit-scrollbar-thumb {
    background: #2D1442;
    border-radius: 10px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (High-Fidelity Breakpoints)
   ========================================================================== */

/* 1. LAPTOP / 1024p SCREENS (1024px to 1280px) */
@media (min-width: 1024px) and (max-width: 1280px) {
    .main-content {
        padding: 0 30px 25px 30px;
    }

    .summary-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* 2. TABLET SCREENS (769px to 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .main-content {
        padding: 0 20px 25px 20px;
    }

    .summary-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .content-row-split {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 16px;
    }
}

/* 3. MOBILE & TABLET COLLAPSE BREAKPOINT (1023px and below) */
@media (max-width: 1023px) {
    .sidebar-toggle {
        display: flex;
    }

    .sidebar {
        position: fixed;
        left: calc(-1 * var(--sidebar-width));
    }

    .sidebar--open {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        padding: 0 1.25rem 2.5rem 1.25rem;
    }
}

/* 4. MOBILE SCREENS (768px and below) */
@media (max-width: 768px) {

    .section-title {
        font-size: 20px;
    }

    .summary-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .summary-card {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .summary-card__label {
        font-size: 13px;
    }

    .summary-card__value {
        font-size: 16px;
    }

    /* Peeking Slider Behavior */
    .content-row-split {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 20px !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        padding: 10px 0 !important;
        scrollbar-width: none !important;
        width: calc(100% + 40px) !important;
        -webkit-overflow-scrolling: touch;
    }

    .content-row-split::-webkit-scrollbar {
        display: none !important;
    }

    .content-row-split>section {
        flex: 0 0 85% !important;
        min-width: 85% !important;
        scroll-snap-align: center !important;
        margin: 0 auto !important;
    }

    .section-hub>.content-row-split {
        margin-left: -1.25rem !important;
        margin-right: -1.25rem !important;
    }

    .card {
        padding: 1.25rem;
        margin-bottom: 12px;
    }

    .section-hub {
        margin-bottom: 12px;
    }

    .notification-item-wrap {
        margin-bottom: 8px;
    }

    .notifications-card {
        padding: 1.25rem;
    }

    .pagination {
        gap: 6px !important;
    }

    .pagination__btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }

    .pagination__arrow {
        width: 6px !important;
        height: 10px !important;
    }
}

/* 4. LARGE PHONES (600px and below) */
@media (max-width: 600px) {
    .card__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 12px;
    }

    .card__actions-stack {
        align-items: flex-end;
        width: auto;
        margin-left: auto;
    }
}

/* 5. SMALL MOBILE (480px and below) */
@media (max-width: 480px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .content-row-split>section {
        flex: 0 0 90% !important;
        min-width: 90% !important;
        scroll-snap-align: center !important;
        margin: 0 auto !important;
    }
}

/* --- Profile Page Specific Styles --- */
.profile-tabs-container {
    display: flex;
    background: rgba(25, 16, 41, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px;
    gap: 6px;
    margin: 0 0 30px !important;
    max-width: none;
    width: 100%;
}

.profile-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.03);
}

.profile-tab-btn--active {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.profile-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.profile-panel--active {
    display: block;
}

.profile-form-card {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 25px;
    position: relative;
    z-index: 2;
}

.profile-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.profile-form-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-form-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.btn-edit-profile {
    background: var(--color-purple-gradient);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-profile:hover {
    box-shadow: 0 5px 15px rgba(166, 65, 239, 0.4);
    transform: translateY(-2px);
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.9);
}

.input-themed {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0 18px;
    color: #FFFFFF;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-themed:focus {
    border-color: #A641EF;
    background: rgba(255, 255, 255, 0.05);
    outline: none;
}

.input-themed[readonly] {
    opacity: 0.6;
    cursor: default;
    background: rgba(255, 255, 255, 0.01);
}

textarea.input-themed {
    resize: vertical;
    min-height: 100px;
    height: auto;
    padding: 14px 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.form-group {
    /* removed margin-bottom for better form spacing */
}

.phone-input-group {
    display: flex;
    align-items: stretch;
    position: relative;
}

.select-themed-wrapper {
    position: relative;
}

.country-code-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 10px 0 0 10px;
    padding: 0 15px;
    cursor: pointer;
    min-width: 100px;
    height: 50px;
}

.phone-input-group .input-themed {
    border-radius: 0 10px 10px 0;
}

.password-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-group .eye-toggle {
    position: absolute;
    right: 15px;
    width: 20px;
    height: auto;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    z-index: 5;
}

.password-input-group .eye-toggle.disabled {
    opacity: 0.2 !important;
    pointer-events: none !important;
    cursor: default !important;
}

.password-input-group .eye-toggle:hover {
    opacity: 1;
}

.country-code-selector .trigger-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-code-selector .trigger-content img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.profile-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.btn-cancel {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-update-password {
    background: var(--color-purple-gradient);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.country-code-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 240px;
    max-height: 200px;
    overflow-y: auto;
    background: #180D2C;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.country-selection-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: #180D2C;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Custom Scrollbar for Dropdowns */
.country-code-dropdown::-webkit-scrollbar,
.country-selection-dropdown::-webkit-scrollbar {
    width: 6px;
}

.country-code-dropdown::-webkit-scrollbar-track,
.country-selection-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.country-code-dropdown::-webkit-scrollbar-thumb,
.country-selection-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.country-code-dropdown::-webkit-scrollbar-thumb:hover,
.country-selection-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.dropdown-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option img {
    width: 24px;
    height: auto;
    border-radius: 3px;
    object-fit: cover;
}

.dropdown-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.select-themed-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
}

.select-themed-trigger.disabled,
.country-code-selector.disabled {
    opacity: 0.4 !important;
    cursor: default !important;
    pointer-events: none !important;
    filter: grayscale(1);
}

@media (max-width: 768px) {
    .profile-form-card {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- LENS SUBSCRIPTION PAGE STYLES --- */
.subscription-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.plan-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-5px);
    border-color: rgba(166, 65, 239, 0.5);
}

.plan-title {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    color: #D1D1D1;
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.plan-price {
    color: #D1D1D1;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.btn-upgrade {
    background: var(--color-purple-gradient);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    text-decoration: none;
    display: block;
}

.btn-upgrade:hover {
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(166, 65, 239, 0.4);
}

.btn-current {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: default;
    width: 100%;
}

.status-active {
    color: #2ecc71;
    font-weight: 600;
}

.status-expiring {
    color: #f39c12;
    font-weight: 600;
}

.status-expired,
.status-inactive {
    color: #9CA3AF;
    font-weight: 600;
}

.action-renew {
    color: var(--color-purple);
    text-decoration: underline;
    font-weight: 600;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .subscription-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 0;
    }

    .payment-method-card {
        width: 100%;
        max-width: 340px;
    }
}

@media (max-width: 768px) {
    .subscription-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        flex-direction: column;
        align-items: center;
        padding: 0 !important;
        width: 100%;
        margin: 20px 0;
    }

    .payment-method-card {
        width: 100%;
        max-width: 220px;
        margin: 0 auto 15px auto;
        box-sizing: border-box;
        padding: 20px 15px;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }

    .secure-badge {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        margin: 20px auto 0 auto;
    }
}

/* Upgrade Flow Styles */
#upgradeSection {
    display: none;
}

.summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 20px;
    color: #D1D1D1;
    font-size: 0.9375rem;
    padding: 0 30px;
    align-items: center;
}

.summary-row.total {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: 700;
}

.payment-methods {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding: 0 30px;
}

.payment-method-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #FFFFFF;
    font-size: 0.9375rem;
    font-weight: 600;
    width: 280px;
}

.payment-method-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.payment-method-card.active {
    border-color: var(--color-purple);
    background: rgba(166, 65, 239, 0.05);
}

.payment-method-card img {
    width: 24px;
    height: auto;
    filter: brightness(0) invert(1);
}

.secure-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
}

.secure-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    color: #9CA3AF;
    font-size: 0.875rem;
    margin-bottom: 25px;
}

.btn-pay {
    background: var(--color-purple-gradient);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

/* --- CREATE CUSTOM REQUEST PAGE STYLES --- */
* {
    font-family: var(--font-family) !important;
}

.lens-type-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.lens-type-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lens-type-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.lens-type-card.active {
    border-color: var(--color-purple);
    background: rgba(166, 65, 239, 0.05);
}

.lens-type-name {
    font-size: 13px;
    color: #FFFFFF;
    margin-bottom: 5px;
    font-weight: 500;
    opacity: 0.9;
}

.lens-type-price {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 5px;
}

.lens-type-desc {
    font-size: 12px;
    color: #FFFFFF;
    opacity: 0.7;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #FFFFFF;
}
.form-group {
    margin-bottom: 15px;
}

.input-themed {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 6px 18px;
    color: #FFFFFF;
    font-size: 15px;
    transition: all 0.3s ease;
}

textarea.input-themed {
    min-height: 120px;
    resize: none;
}

.upload-area {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.upload-area:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.total-cost-label {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    opacity: 0.9;
}

.btn-submit-request {
    background: var(--color-purple-gradient);
    border: none;
    color: white;
    padding: 12px 45px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(166, 65, 239, 0.3);
}

.btn-submit-request:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(166, 65, 239, 0.5);
}

/* Submenu Active State */
.sidebar__item--open .sidebar__submenu {
    display: block !important;
}

.sidebar__submenu-link--active {
    color: var(--color-purple) !important;
    font-weight: 700 !important;
}

@media (max-width: 992px) {
    .lens-type-grid {
        flex-wrap: wrap;
    }

    .lens-type-card {
        flex: 1 1 calc(50% - 20px);
        min-width: 150px;
    }
}

@media (max-width: 600px) {
    .lens-type-grid {
        flex-direction: column;
    }

    .lens-type-card {
        width: 100%;
    }

    .form-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .btn-submit-request {
        width: 100%;
    }

    .footer-card {
        padding: 25px;
    }
}

/* Settings Page */
.settings-container {
    max-width: 1200px;
    margin: 0 auto !important;
    width: 100%;
}

/* Responsive Settings */
@media (max-width: 768px) {
    .settings-main-row {
        padding: 20px;
        gap: 15px;
    }

    .settings-icon-box {
        width: 40px;
        height: 40px;
        margin-right: 0;
    }

    .settings-icon-box img {
        width: 20px;
    }

    .settings-info h3 {
        font-size: 1rem;
    }

    .settings-info p {
        font-size: 0.75rem;
    }

    .settings-expanded-content {
        padding: 10px 20px 5px 20px;
    }
}

.settings-item-wrap {
    background: #180D2C;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.settings-item-wrap--active {
    border-color: #A641EF;
    box-shadow: 0 0 15px rgba(166, 65, 239, 0.2);
}

.settings-main-row {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.settings-main-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.settings-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.settings-info {
    flex-grow: 1;
}

.settings-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.settings-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.chevron-right {
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.settings-item-wrap--active .chevron-right {
    transform: rotate(90deg);
}

.settings-expanded-content {
    display: none;
    padding: 10px 30px 10px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

.settings-item-wrap--active .settings-expanded-content {
    display: block;
}

.preference-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 0;
}

.preference-row:last-child {
    margin-bottom: 0;
}

.preference-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.preference-info p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background: var(--color-purple-gradient);
}

input:checked+.toggle-slider:before {
    transform: translateX(22px);
}

/* Standardized Progress & Slider Themes */
.progress-themed {
    width: 100%;
    height: 12px;
    background: #0D051D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.progress-fill-themed {
    height: 100%;
    background: #2D1442;
    border-radius: 20px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(45, 20, 66, 0.5);
}

/* Range Slider Customization */
input[type="range"].slider-themed {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    background: #0D051D;
    border-radius: 20px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

input[type="range"].slider-themed::-webkit-slider-runnable-track {
    width: 100%;
    height: 12px;
    cursor: pointer;
    background: transparent;
    border-radius: 20px;
}

input[type="range"].slider-themed::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #A641EF;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    margin-top: -7px;
    box-shadow: 0 0 10px rgba(166, 65, 239, 0.5);
    border: 2px solid white;
}

/* Responsive Pagination Enhancements */
@media (max-width: 768px) {
    .card-pagination-wrapper {
        justify-content: center;
        padding-top: 1.5rem;
    }

    .pagination {
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0;
    }

    .pagination__btn {
        width: 38px;
        height: 38px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .card-pagination-wrapper {
        justify-content: center !important;
    }

    .pagination {
        justify-content: center !important;
        width: 100% !important;
        gap: 0.375rem;
    }

    .pagination__btn {
        width: 34px;
        height: 34px;
        border-radius: 6px;
    }

    .pagination__arrow {
        width: 12px;
        height: 12px;
    }
}

/* --- Login & Reset Password Pages --- */
:root {
    --login-card-bg: #180D2C;
    --login-input-bg: #0C001C;
    --login-border: rgba(166, 65, 239, 0.2);
    --login-purple: #A641EF;
    --login-purple-hover: #C52EFF;
}

.login-body {
    background-color: #0C001C;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
}

.login-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.login-card {
    background: var(--login-card-bg);
    border: 1px solid var(--login-border);
    border-radius: 24px;
    padding: 25px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.login-header {
    margin-bottom: 20px;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #FFFFFF;
}

.login-brand {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 1px;
}

.brand-mirror {
    color: #A641EF;
}

.brand-admin {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.login-card .form-group {
    text-align: left;
    margin-bottom: 8px;
}

.login-card .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.input-wrapper {
    position: relative;
}

.login-input {
    width: 100%;
    height: 52px;
    background: var(--login-input-bg);
    border: 1px solid var(--login-border);
    border-radius: 12px;
    padding: 0 16px;
    color: #FFFFFF;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.login-input:focus {
    border-color: var(--login-purple);
    box-shadow: 0 0 12px rgba(166, 65, 239, 0.2);
}

.eye-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: auto;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.eye-toggle:hover {
    opacity: 1;
}

.forgot-pass {
    display: block;
    text-align: right;
    font-size: 13px;
    color: var(--login-purple);
    text-decoration: none;
    margin-top: 8px;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-pass:hover {
    color: var(--login-purple-hover);
    text-decoration: underline;
}

.btn-signin {
    width: 100%;
    height: 52px;
    background: var(--color-purple-gradient);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
    box-shadow: 0 4px 15px rgba(166, 65, 239, 0.3);
}

.btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 65, 239, 0.4);
}

.btn-signin:active {
    transform: translateY(0);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@media (max-width: 480px) {
    .login-card {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .login-header h1 {
        font-size: 28px;
    }
}

/* --- Notifications Page Specific Styles --- */
.notifications-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-wrapper {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.search-input {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 15px 0 45px;
    color: #FFFFFF;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.search-wrapper .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0.5;
    pointer-events: none;
}

.notification-header-actions {
    display: flex;
    gap: 15px;
}

.btn-action-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 0 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 50px;
}

.btn-action-outline:hover {
    background: rgba(166, 65, 239, 0.1);
    border-color: #A641EF;
    transform: translateY(-2px);
}

.notifications-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

.notification-item-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-item {
    flex: 1;
    background: #180D2C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.notification-item:hover {
    background: rgba(166, 65, 239, 0.05);
    border-color: #A641EF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.notif-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
}

.notif-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.notif-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.notif-time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.notif-dot--unread {
    background: #0085FF;
    box-shadow: 0 0 8px rgba(0, 133, 255, 0.5);
}

.btn-delete-notif {
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.btn-delete-notif:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .notifications-header-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .search-wrapper {
        min-width: 100%;
        order: 1;
    }

    .notification-header-actions {
        width: 100%;
        justify-content: space-between;
        order: 2;
        gap: 10px;
    }

    .btn-action-outline {
        flex: 1;
        justify-content: center;
        padding: 8px 12px;
        font-size: 13px;
    }

    .notification-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
        padding: 15px;
    }

    .notif-text {
        width: calc(100% - 60px);
        font-size: 15px;
    }

    .notif-meta {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .notif-time {
        text-align: left;
        line-height: 1.4;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .notification-item-wrap {
        gap: 10px;
    }

    .notification-item {
        padding: 10px 12px;
    }

    .notif-text {
        font-size: 14px;
    }

    .notif-icon-box {
        width: 36px;
        height: 36px;
    }

    .notif-icon-box img,
    .notif-icon-box svg {
        width: 20px;
        height: 20px;
    }

    .btn-delete-notif img {
        width: 18px;
        height: 18px;
    }

    .time-break {
        display: block;
        height: 0;
    }
}

@media (max-width: 480px) {
    .header__subtitle {
        display: none;
    }
}

/* --- Media Uploads Page Specific Styles --- */
.media-preview-container {
    position: relative;
    width: 80px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.media-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-overlay svg {
    width: 12px;
    height: 12px;
    fill: white;
    margin-left: 2px;
}

.search-bar-container {
    margin-bottom: 30px;
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar-input {
    width: 100%;
    background: #1A122E;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 18px 20px 18px 55px;
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-bar-input:focus {
    outline: none;
    border-color: var(--color-purple);
    background: #23183d;
}

.search-bar-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-bar-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* --- List Events Page Specific Styles --- */
.action-link-purple {
    color: var(--color-purple);
    text-decoration: underline;
    font-weight: 600;
    margin-right: 15px;
}

.action-link-purple:hover {
    opacity: 0.8;
}

/* 24. Allocate Lens Page Styles */
.status-radio-group {
    display: flex;
    gap: 32px;
    margin-top: 12px;
}

.status-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
}

.status-radio-input {
    display: none;
}

.status-radio-text {
    display: flex;
    align-items: center;
    color: var(--color-text-white);
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.2s;
}

.status-radio-text::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #FFFFFF;
    border-radius: 50%;
    margin-right: 12px;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.status-radio-input:checked~.status-radio-text {
    color: var(--color-purple);
}

.status-radio-input:checked~.status-radio-text::before {
    background-color: var(--color-purple);
}

.form-footer-container {
    display: flow-root;
    margin-top: 30px;
}

/* 25. Add Events Page Styles */
textarea.input-themed {
    min-height: 120px;
    resize: none;
    padding-top: 15px;
}

/* --- Notifications Page Specific Styles --- */
.notifications-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-wrapper {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    height: 48px; /* Increased slightly for better look */
    min-height: 48px; /* Force minimum height */
    gap: 10px;
}

.search-icon {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    flex-shrink: 0;
}

.search-input {
    background: transparent;
    border: none;
    color: #FFFFFF;
    flex: 1;
    font-size: 14px;
    outline: none;
    height: 100%;
}

.notification-header-actions {
    display: flex;
    gap: 15px;
}

.btn-action-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 48px;
    min-height: 48px;
}

.btn-action-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.notifications-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0.625rem 0;
}

.notification-item-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.notification-item {
    flex: 1;
    background: rgba(25, 16, 41, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.notification-item:hover {
    background: rgba(166, 65, 239, 0.08);
    border-color: rgba(166, 65, 239, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.notif-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.notif-text {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.notif-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.notif-time {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: normal;
    text-align: right;
    max-width: 100px; /* Force wrap if too long */
}

.notif-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.notif-dot--unread {
    background: #0085FF;
    box-shadow: 0 0 0.625rem rgba(0, 133, 255, 0.6);
}

.btn-delete-notif {
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-notif:hover {
    opacity: 1;
    transform: scale(1.1);
}

.btn-delete-notif img {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .search-wrapper {
        min-width: 100%;
        order: 1;
    }

    .notification-header-actions {
        width: 100%;
        justify-content: space-between;
        order: 2;
        gap: 10px;
    }

    .btn-action-outline {
        flex: 1;
        justify-content: center;
        padding: 8px 12px;
        font-size: 13px;
    }

    .notification-item {
        padding: 15px;
        gap: 12px;
        flex-wrap: wrap;
        min-width: 0; /* Allow shrinking */
    }

    .notif-text {
        flex: 1;
        min-width: 0;
        font-size: 14px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .notif-time {
        text-align: left;
        max-width: none;
        display: block; /* Ensure it can wrap parts */
    }

    .time-only {
        display: inline-block;
        white-space: nowrap; /* Keep time together */
    }

    .notif-meta {
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 600px) {
    .notifications-header-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .notification-item-wrap {
        gap: 8px;
        align-items: center;
    }

    .notification-item {
        padding: 12px;
    }

    .notif-icon-box {
        width: 2.2rem;
        height: 2.2rem;
    }

    .notif-text {
        font-size: 13px;
    }

    .btn-delete-notif {
        padding: 5px;
    }

    .pagination {
        justify-content: center;
        width: 100%;
        margin-top: 20px;
    }
}

/* Custom styles for Allocate Lens form */
.status-radio-group {
    display: flex;
    gap: 32px;
    margin-top: 12px;
}

.status-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
}

.status-radio-input {
    display: none;
}

.status-radio-text {
    display: flex;
    align-items: center;
    color: var(--color-text-white);
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.2s;
}

.status-radio-text::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #FFFFFF;
    border-radius: 50%;
    margin-right: 12px;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

/* Active State - Mirroring .sidebar__submenu-link--active */
.status-radio-input:checked~.status-radio-text {
    color: var(--color-purple);
}

.status-radio-input:checked~.status-radio-text::before {
    background-color: var(--color-purple);
}

.form-footer-container {
    display: flow-root;
    margin-top: 30px;
}

/* Inline styles replacement utilities */
.sidebar-close-line-1 {
    transform: translateY(10px) rotate(45deg);
    position: absolute;
}
.sidebar-close-line-2 {
    transform: translateY(10px) rotate(-45deg);
    position: absolute;
}
.table-fixed {
    table-layout: fixed !important;
}
.text-left {
    text-align: left !important;
}
.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right !important;
}
.pl-40 {
    padding-left: 40px !important;
}
.pr-40 {
    padding-right: 40px !important;
}
.w-8 { width: 8% !important; }
.w-10 { width: 10% !important; }
.w-12 { width: 12% !important; }
.w-13 { width: 13% !important; }
.w-15 { width: 15% !important; }
.w-18 { width: 18% !important; }
.w-20 { width: 20% !important; }
.w-25 { width: 25% !important; }
.w-30 { width: 30% !important; }
.w-33 { width: 33.33% !important; }

.form-footer-right {
    justify-content: flex-end;
}
.table-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 0 !important; }
.mt-40 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.p-40 { padding: 1.25rem !important; }

/* Submenu specifics */
.submenu-open {
    display: block !important;
}
.submenu-extended {
    max-height: 2000px !important;
    margin-top: 10px !important;
    overflow: visible !important;
}
.chevron-rotated {
    transform: rotate(180deg) !important;
}

/* Index.html auth specifics */
.auth-msg {
    display: none;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}
.auth-msg-error {
    color: #E74C3C;
}
.auth-msg-success {
    padding: 12px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 8px;
    color: #2ECC71;
}
.auth-view-hidden {
    display: none !important;
}
.auth-subtext {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}
.auth-back-link {
    display: block;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.auth-back-link:hover {
    color: white;
}
.otp-sent-box {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    color: #2ECC71;
    font-size: 14px;
    font-weight: 500;
}
.otp-input-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}
.otp-input-box {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}
.resend-text {
    margin-top: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
.resend-timer-text {
    color: var(--color-purple);
    cursor: default;
}
.reset-msg {
    display: none;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Form and Profile specifics */
.form-header-subtext {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}
.form-group-compact {
    max-width: 300px;
    margin-bottom: 0;
}
.orders-controls-right {
    justify-content: flex-end !important;
}
.text-info { color: #3498db !important; font-weight: 600 !important; }
.text-success { color: #2ecc71 !important; font-weight: 600 !important; }
.text-danger { color: #e74c3c !important; font-weight: 600 !important; }
.text-white-bold { font-weight: 700 !important; color: #FFFFFF !important; }
.btn-back-link {
    margin-top: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
    color: #FFFFFF;
    display: block;
    text-align: center;
    width: 100%;
}
.settings-main-row {
    text-decoration: none !important;
    color: inherit !important;
}

.icon-invert-24 {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Utility: hidden on page load, toggled by JS */
.hidden-initially {
    display: none;
}

/* Upgrade Summary row label/value */
.summary-label {
    font-weight: 700;
    color: #FFFFFF;
}

/* Section title small variant */
.section-title-sm {
    font-size: 1.125rem;
}

/* Table action link colors */
.action-link-success {
    color: #2ecc71 !important;
    text-decoration: none;
    font-weight: 600;
}
.action-link-info {
    color: #3498db !important;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 576px) {
    .card-pagination-wrapper, .pagination, .table-pagination, .pagination-container {
        justify-content: center !important;
        text-align: center !important;
    }
}
/* --- Profile Page Specific Styles --- */
.profile-tabs-container {
    display: flex;
    background: rgba(25, 16, 41, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px;
    gap: 6px;
    margin: 0 auto -6px !important;
    max-width: 900px;
    width: 100%;
}
.profile-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.profile-tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.03);
}
.profile-tab-btn--active {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.profile-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}
.profile-panel--active {
    display: block;
}
.profile-form-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px;
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    .profile-form-card { padding: 15px; }
    .profile-tabs-container { flex-direction: column; }
}
/* Settings Page Specific Styles */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto !important;
    width: 100%;
}
.settings-item-wrap {
    background: #180D2C;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.settings-item-wrap--active {
    border-color: #A641EF;
    box-shadow: 0 0 15px rgba(166, 65, 239, 0.2);
}
.settings-main-row {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 16px;
}
.settings-main-row:hover {
    background: rgba(255, 255, 255, 0.03);
}
.settings-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    flex-shrink: 0;
}
.settings-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #FFFFFF;
}
.settings-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}
.settings-expanded-content {
    display: none;
    padding: 10px 30px 10px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}
.settings-item-wrap--active .settings-expanded-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}
@media (max-width: 768px) {
    .settings-main-row { padding: 20px; gap: 15px; }
    .settings-icon-box { width: 40px; height: 40px; }
    .settings-info h3 { font-size: 1rem; }
    .settings-info p { font-size: 0.75rem; }
    .settings-expanded-content { padding: 10px 20px 5px 20px; }
}