/* ==========================================================================
   PhotoRun Premium Custom Core CSS (Static Pre-compiled Asset)
   ========================================================================== */

:root {
    --primary-color: #635bff; /* Stripe Violet */
    --secondary-color: #00d4b2; /* Stripe Teal */
    --primary-hover: #5048df;
    
    --bg-page: #1e293b; /* Slate-800 */
    --bg-card: #0f172a; /* Slate-900 */
    --bg-sidebar: #0f172a;
    
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1; /* Slate-300 */
    --text-muted: #94a3b8; /* Slate-400 */
    --text-light: #ffffff;
    
    --border-color: #334155; /* Slate-700 */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    
    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-input: 0 1px 2px rgba(0, 0, 0, 0.25);
    
    --transition-fast: 0.12s ease;
    --transition-smooth: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: var(--bg-page);
    color: var(--text-secondary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Header Navigation Custom Styles (Supplementing Bootstrap)
   ========================================================================== */
.app-header {
    background-color: rgba(30, 41, 59, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.25);
    padding: 0 !important;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.nav-link.active {
    color: var(--secondary-color) !important;
    background-color: rgba(0, 212, 178, 0.1) !important;
    font-weight: 700;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 1px solid var(--border-color);
    padding-left: 16px;
    margin-left: 4px;
}

.main-content {
    flex-grow: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px;
}

.app-footer {
    flex-shrink: 0;
    background-color: #0f172a;
    color: #94a3b8;
    padding: 32px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   Stripe Cards & Custom Styles
   ========================================================================== */
.glass-card, .flat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
}

.glass-card:hover {
    border-color: #c1c9d2;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}

/* Custom Buttons overriding / expanding bootstrap */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
}

/* Custom form modifications */
.form-control-custom {
    box-shadow: var(--shadow-input);
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

/* ==========================================================================
   Unique Landing Page Design
   ========================================================================== */
.hero {
    padding: 80px 24px;
    background-color: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 91, 255, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 212, 178, 0.05) 0px, transparent 50%);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    box-shadow: var(--shadow-card);
}

.hero-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px auto;
    line-height: 1.6;
}

/* Search Tabs & Widget */
.search-container {
    max-width: 620px;
    margin: 0 auto;
}

.search-tabs {
    display: inline-flex;
    background-color: #f1f5f9;
    padding: 3px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.search-tab-btn {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    background-color: transparent;
    color: var(--text-secondary);
    border-radius: 18px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-tab-btn:hover {
    color: var(--text-primary);
}

.search-tab-btn.active {
    background-color: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.search-form-wrap {
    background: #ffffff;
    padding: 16px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 5px 10px -2px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
}

.search-input-group {
    display: flex;
    gap: 8px;
}

/* Selfie Camera Scanner Widget */
.selfie-uploader {
    border: 2px dashed #c1c9d2;
    border-radius: var(--border-radius);
    padding: 48px 24px;
    text-align: center;
    background-color: #ffffff;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.selfie-uploader:hover {
    border-color: var(--primary-color);
    background-color: #fafbfc;
}

.selfie-uploader-icon {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.selfie-preview-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px auto;
    border: 3px solid #e3e8ee;
    overflow: hidden;
    display: none;
    position: relative;
    box-shadow: var(--shadow-card);
}

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

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
    animation: scan 2s linear infinite;
    display: none;
}

@keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* ==========================================================================
   Photo Grid & Protection Styling
   ========================================================================== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.photo-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.photo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

.photo-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    background-color: #f4f6f8;
    overflow: hidden;
}

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

.watermark-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(26, 31, 54, 0.02);
    pointer-events: none;
}

.photo-details {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #ffffff;
}

.photo-meta {
    font-size: 13px;
    color: var(--text-secondary);
}

.photo-meta strong {
    color: var(--text-primary);
}

.photo-card-actions {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafbfc;
}

/* ==========================================================================
   Stripe-Like Admin Layout & Sidebar (Full Screen)
   ========================================================================== */
.admin-viewport {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.admin-sidebar {
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    width: 250px;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 16px 16px 4px 16px;
    letter-spacing: 0.5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13.5px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.sidebar-link.active {
    background-color: var(--primary-color);
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--primary-color);
}

.admin-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.admin-top-bar {
    height: 56px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    flex-shrink: 0;
}

.admin-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 32px;
    background-color: var(--bg-page);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-card);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-val {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 4px;
}

/* Sequential upload dropzone styling */
.admin-upload-dropzone {
    border: 2px dashed var(--border-color);
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.admin-upload-dropzone:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.02);
}

.queue-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.queue-item {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    position: relative;
    overflow: hidden;
}

.queue-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.15s ease;
}

/* Custom Alert Banner fallback */
.alert-custom {
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 13.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
}

.alert-custom-success {
    background-color: #eafbf7;
    color: #00876b;
    border-color: #a8f0e0;
}

.alert-custom-error {
    background-color: #fff0f3;
    color: #df1b41;
    border-color: #ffd0d6;
}

.badge-custom {
    display: inline-flex;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
}

.badge-custom-success {
    background-color: #eafbf7;
    color: #00876b;
}

.badge-custom-pending {
    background-color: #fff9e6;
    color: #c27f00;
}

/* ==========================================================================
   Shopping Cart Layout & Page Styles
   ========================================================================== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.cart-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

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

.cart-table th {
    background-color: #fafbfc;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.cart-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    color: var(--text-primary);
}

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

.cart-photo-preview {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    display: block;
}

.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.summary-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-row.discount {
    color: #166534;
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    border-bottom: none;
    padding-top: 16px;
    margin-top: 8px;
    font-size: 16px;
    color: var(--text-primary);
}

.summary-row.total strong {
    font-size: 20px;
    color: var(--primary-color);
}

/* ==========================================================================
   Responsive Header and User Dropdown Styling
   ========================================================================== */
.nav-divider {
    color: var(--border-color);
    margin: 0 4px;
    font-size: 16px;
    font-weight: 300;
}

.nav-user-dropdown .dropdown-menu {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    padding: 6px 0;
    margin-top: 8px;
}

.nav-user-dropdown .dropdown-item {
    font-size: 13.5px;
    padding: 8px 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s ease;
}

.nav-user-dropdown .dropdown-item:hover {
    color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.05);
}

.nav-user-dropdown .dropdown-item.text-danger:hover {
    color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

@media (max-width: 991.98px) {
    .header-container {
        padding: 10px 24px;
    }
    .header-nav {
        flex-direction: column;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 16px 0;
        width: 100%;
        border-top: 1px solid var(--border-color);
        margin-top: 10px;
    }
    .header-nav .nav-link {
        width: 100%;
        text-align: center;
        border-radius: 8px;
        padding: 10px 16px;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .nav-user-dropdown {
        width: 100%;
        text-align: center;
    }
    .nav-user-dropdown .dropdown-toggle {
        justify-content: center;
        width: 100%;
    }
    .nav-user-dropdown .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        text-align: center;
        box-shadow: none !important;
        border: none !important;
        background-color: #0f172a !important;
        margin-top: 4px;
        padding: 0;
    }
    .nav-user-dropdown .dropdown-item {
        text-align: center !important;
        padding: 10px 16px;
    }
    .nav-register-btn {
        text-align: center;
        width: 100%;
        padding: 10px;
    }
    .navbar-collapse {
        background-color: #0f172a;
        padding: 0 16px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

/* ==========================================================================
   Global Dark Slate Card Theme Overrides (For Gallery, Favorites, etc.)
   ========================================================================== */
.photo-card {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
}

.photo-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

.photo-card-actions {
    background-color: var(--bg-card) !important;
    border-top: 1px solid var(--border-color) !important;
}

.photo-img-wrap {
    background-color: #1e293b !important;
}

.fav-toggle-btn {
    background: rgba(15, 23, 42, 0.8) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.fav-toggle-btn:hover {
    background-color: #0f172a !important;
    transform: scale(1.12);
}

.glass-card {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Table styles for Cart/Dashboard pages */
.cart-table th {
    background-color: #1e293b !important;
    color: #ffffff !important;
    border-bottom: 1px solid var(--border-color) !important;
}
.cart-table td {
    border-bottom: 1px solid var(--border-color) !important;
}

/* Premium Dark Form Inputs & Labels */
.form-control, .form-select, .form-textarea {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
}
.form-control::placeholder {
    color: #64748b !important;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.25) !important;
    outline: none !important;
}
.form-label {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 8px !important;
}
.form-group {
    margin-bottom: 20px !important;
}

/* Readable Form Help Text */
.form-text {
    color: var(--text-muted) !important;
    font-size: 12px !important;
    margin-top: 6px !important;
    display: block !important;
}

/* Premium Badges for Dark Slate Layout */
.badge-success {
    background-color: rgba(34, 197, 94, 0.15) !important;
    color: #22c55e !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    display: inline-block !important;
}
.badge-pending {
    background-color: rgba(234, 179, 8, 0.15) !important;
    color: #eab308 !important;
    border: 1px solid rgba(234, 179, 8, 0.25) !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    display: inline-block !important;
}
.badge-failed {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    display: inline-block !important;
}

/* Mobile Navbar Toggler Icon Color */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2) !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Premium Lightbox Modal Global Style definitions */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-modal.show {
    opacity: 1 !important;
}
.lightbox-content-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--border-color);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox-modal.show .lightbox-img {
    transform: scale(1) !important;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #cbd5e1 !important;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2010;
    transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    background: rgba(15, 23, 42, 0.6) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lightbox-close:hover {
    color: #ffffff !important;
    background: rgba(15, 23, 42, 0.85) !important;
    transform: scale(1.08);
    border-color: rgba(255, 255, 255, 0.3);
}
.lightbox-caption {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 500;
    background: rgba(15, 23, 42, 0.6);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

