/* 
 * GA Share - Vibrant Aurora Bright Theme (User Portal)
 * High-fidelity, colorful, and modern SaaS aesthetic inspired by Stripe & Apple interfaces.
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Bright & Colorful Aurora Palettes */
    --aurora-gradient: linear-gradient(135deg, #6366F1 0%, #D946EF 50%, #FF007A 100%);
    --bg-mesh: linear-gradient(135deg, #F5F7FF 0%, #FAF5FF 50%, #FFF5F7 100%);
    
    --primary: #6366F1; /* Indigo */
    --primary-hover: #4F46E5;
    
    --success: #10B981; /* Emerald */
    --success-light: #D1FAE5;
    --warning: #F59E0B; /* Amber */
    --warning-light: #FEF3C7;
    --danger: #EF4444; /* Rose */
    --danger-light: #FEE2E2;
    
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;
    
    /* Box Shadows with subtle color casts */
    --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.04);
    --shadow-md: 0 10px 25px rgba(99, 102, 241, 0.06), 0 2px 10px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 40px rgba(99, 102, 241, 0.1), 0 5px 15px rgba(0, 0, 0, 0.03);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --border-radius-sm: 10px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background: var(--bg-mesh);
    color: var(--slate-800);
    line-height: 1.6;
    padding-bottom: 100px; /* space for floating dock */
}

/* Desktop layout spacing adjustment */
@media (min-width: 1024px) {
    body {
        padding-bottom: 0;
        padding-top: 85px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select {
    font-family: inherit;
    outline: none;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Colorful Aurora Header */
.header-wrapper {
    background: var(--aurora-gradient);
    color: white;
    padding: 40px 24px 100px 24px;
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.2);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-section {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.brand-subtitle {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.bell-icon {
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.1);
}

.bell-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.bell-dot {
    position: absolute;
    top: 11px;
    right: 12px;
    width: 8px;
    height: 8px;
    background-color: #FF007A;
    border-radius: 50%;
    border: 1.5px solid white;
    box-shadow: 0 0 8px #FF007A;
}

/* Floating Search and Filter Bar */
.search-container {
    max-width: 620px;
    margin: -45px auto 35px auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.search-bar-inner {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 8px 8px 8px 18px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.search-icon {
    color: var(--primary);
    margin-right: 12px;
    display: flex;
}

.search-input {
    flex: 1;
    border: none;
    font-size: 15px;
    color: var(--slate-800);
}

.search-input::placeholder {
    color: var(--slate-400);
}

.filter-btn {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    color: var(--slate-700);
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background: var(--slate-100);
    border-color: var(--slate-300);
}

/* Category Filter Chips */
.category-chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 24px 20px 24px;
    margin: 0 auto;
    max-width: 1200px;
    scrollbar-width: none;
}

.category-chips::-webkit-scrollbar {
    display: none;
}

.chip {
    padding: 9px 18px;
    background: white;
    border: 1px solid rgba(99,102,241,0.06);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-600);
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.chip:hover {
    color: var(--primary);
    border-color: rgba(99,102,241,0.2);
}

.chip.active {
    background: var(--aurora-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(217, 70, 239, 0.2);
}

/* Main Catalog Area */
.catalog-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: var(--slate-900);
}

.item-count-badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

/* Products Grid */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Product Card (Bright Colorful Design) */
.product-card {
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(99, 102, 241, 0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition-bounce);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.15);
}

@media (min-width: 992px) {
    .product-card {
        flex-direction: row;
        min-height: 230px;
    }
}

/* Image Container */
.product-image-container {
    position: relative;
    width: 100%;
    height: 210px;
    background-color: var(--slate-50);
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .product-image-container {
        width: 260px;
        height: auto;
    }
}

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

.product-image-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    height: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.product-image-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.product-img-carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    cursor: pointer;
}

/* Category Tags with Distinct Vibrant Colors */
.category-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    color: white;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Give category tag colors based on category names */
.product-card[data-category="MONITOR"] .category-tag { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.product-card[data-category="CPU"] .category-tag { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.product-card[data-category="UPS"] .category-tag { background: linear-gradient(135deg, #F59E0B, #D97706); }
.product-card[data-category="PRINTER"] .category-tag { background: linear-gradient(135deg, #EC4899, #BE185D); }
/* Fallback */
.category-tag { background: var(--aurora-gradient); }

/* Product Info */
.product-details {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid var(--slate-100);
}

@media (min-width: 992px) {
    .product-details {
        border-bottom: none;
        border-right: 1px solid var(--slate-100);
    }
}

.product-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 6px;
}

.condition-badge {
    display: inline-flex;
    align-items: center;
    background: var(--success-light);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 16px;
}

.condition-badge.warning {
    background: var(--warning-light);
    color: var(--warning);
}

.condition-badge.danger {
    background: var(--danger-light);
    color: var(--danger);
}

/* Specifications Bullet List */
.spec-list {
    list-style: none;
    margin-bottom: 16px;
}

.spec-item {
    font-size: 13.5px;
    color: var(--slate-600);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-check {
    width: 18px;
    height: 18px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Pricing Section */
.price-container {
    margin-top: auto;
}

.price-sub-title {
    font-size: 11px;
    color: var(--slate-500);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--slate-900);
}

.price-tag.sold-out {
    color: var(--slate-400);
    text-decoration: line-through;
}

/* Desktop actions Inside Card details */
.desktop-actions {
    display: none;
}

@media (min-width: 992px) {
    .desktop-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px solid var(--slate-100);
    }
}

/* Right Section: Buyer List with vibrant colorful avatars */
.buyer-list-container {
    width: 100%;
    padding: 24px;
    background: #FAF9FF;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (min-width: 992px) {
    .buyer-list-container {
        width: 280px;
        flex-shrink: 0;
        align-self: stretch;
    }
}

.buyer-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--slate-400);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buyer-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.buyer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideUp 0.3s ease-out;
}

.buyer-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

/* Generate dynamic colors for avatars */
.buyer-item:nth-child(5n+1) .buyer-avatar { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.buyer-item:nth-child(5n+2) .buyer-avatar { background: linear-gradient(135deg, #10B981, #047857); }
.buyer-item:nth-child(5n+3) .buyer-avatar { background: linear-gradient(135deg, #F59E0B, #B45309); }
.buyer-item:nth-child(5n+4) .buyer-avatar { background: linear-gradient(135deg, #EC4899, #BE185D); }
.buyer-item:nth-child(5n+5) .buyer-avatar { background: linear-gradient(135deg, #8B5CF6, #5B21B6); }

.buyer-info {
    display: flex;
    flex-direction: column;
}

.buyer-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--slate-800);
}

.buyer-time {
    font-size: 10px;
    color: var(--slate-500);
}

/* Empty State Buyer */
.empty-buyer-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px 0;
    color: var(--slate-400);
    text-align: center;
}

.empty-buyer-icon {
    font-size: 26px;
    margin-bottom: 6px;
    opacity: 0.6;
}

.empty-buyer-text {
    font-size: 12px;
    font-weight: 500;
}

/* Mobile actions bar */
.card-actions {
    padding: 16px 24px;
    background: #FAF9FF;
    border-top: 1px solid var(--slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 992px) {
    .card-actions {
        display: none;
    }
}

/* Buttons */
.btn-checkout {
    background: var(--aurora-gradient);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.35);
}

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

.btn-checkout.disabled {
    background: var(--slate-200);
    color: var(--slate-400);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.stock-indicator {
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-500);
}

.stock-indicator.critical {
    color: var(--danger);
    font-weight: 800;
}

/* Floating Bottom Navigation Dock (Apple-style frosted glass tab dock) */
.bottom-navbar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 70px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0 10px;
}

@media (min-width: 1024px) {
    .bottom-navbar {
        top: 0;
        bottom: auto;
        left: 0;
        right: 0;
        height: 75px;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.95);
        border: none;
        border-bottom: 1px solid var(--slate-200);
        padding: 0 8%;
        justify-content: space-between;
        box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    }
}

.nav-logo {
    display: none;
}

@media (min-width: 1024px) {
    .nav-logo {
        display: block;
        font-family: var(--font-heading);
        font-size: 24px;
        font-weight: 800;
        color: var(--primary);
        background: var(--aurora-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.nav-links-wrapper {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

@media (min-width: 1024px) {
    .nav-links-wrapper {
        width: auto;
        gap: 35px;
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    font-size: 10px;
    font-weight: 700;
    transition: var(--transition-smooth);
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

@media (min-width: 1024px) {
    .nav-item {
        flex-direction: row;
        font-size: 14px;
        gap: 8px;
        color: var(--slate-600);
        width: auto;
        height: auto;
        border-radius: 0;
    }
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

@media (min-width: 1024px) {
    .nav-icon {
        font-size: 18px;
        margin-bottom: 0;
    }
}

.nav-item.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

@media (min-width: 1024px) {
    .nav-item.active {
        background: transparent;
        color: var(--primary);
        border-bottom: 3px solid var(--primary);
        padding: 24px 0;
    }
}

/* Modal Popup ( Frosted Glass Design ) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: white;
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(99, 102, 241, 0.08);
    transform: scale(0.9);
    transition: var(--transition-bounce);
    overflow: hidden;
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.modal-header {
    background: var(--aurora-gradient);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 28px;
}

/* Modal Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    border: 1px solid var(--slate-200);
    background-color: var(--slate-50);
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--slate-800);
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Qty Selector */
.qty-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--slate-200);
    background: white;
    color: var(--slate-800);
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background: var(--slate-50);
    border-color: var(--slate-300);
    color: var(--primary);
}

.qty-number {
    width: 55px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

/* Purchase Summary Panel inside modal */
.summary-panel {
    background: var(--slate-50);
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px dashed var(--slate-200);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13.5px;
    color: var(--slate-600);
}

.summary-row.total {
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid var(--slate-200);
    font-weight: 800;
    color: var(--slate-900);
    font-size: 16px;
}

.btn-confirm-booking {
    width: 100%;
    background: var(--aurora-gradient);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.2);
}

.btn-confirm-booking:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(217, 70, 239, 0.35);
}

/* Success Modal View */
.success-view {
    text-align: center;
    padding: 24px 10px;
}

.success-icon {
    width: 68px;
    height: 68px;
    background: var(--success-light);
    color: var(--success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.success-message {
    font-size: 14px;
    color: var(--slate-600);
    margin-bottom: 24px;
}

/* User Tab: Belanja Saya & Riwayat */
.history-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.history-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(99, 102, 241, 0.05);
    display: flex;
    align-items: center;
    gap: 18px;
}

.history-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.history-info {
    flex: 1;
}

.history-prod-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--slate-900);
}

.history-meta {
    font-size: 12.5px;
    color: var(--slate-500);
    margin-top: 3px;
}

.history-status-tag {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border: 1px solid rgba(16,185,129,0.15);
    text-transform: uppercase;
}

/* Info GA panel */
.panel-card {
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.05);
}

.panel-header {
    background: var(--aurora-gradient);
    color: white;
    padding: 20px 24px;
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.panel-body {
    padding: 24px;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Utility classes */
.hidden {
    display: none !important;
}

.no-data-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--slate-400);
}

.no-data-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.no-data-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 4px;
}

.no-data-text {
    font-size: 13px;
}

/* Lightbox overlay for full screen image viewing */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 25000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    user-select: none;
}

.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    object-fit: contain;
}

.lightbox-overlay.open .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 26000;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--primary);
    border-color: var(--primary);
}

.lightbox-arrow.prev {
    left: -70px;
}

.lightbox-arrow.next {
    right: -70px;
}

/* Mobile responsive arrows overlay */
@media (max-width: 768px) {
    .lightbox-arrow.prev {
        left: 10px;
    }
    .lightbox-arrow.next {
        right: 10px;
    }
    .lightbox-close {
        right: 10px;
        top: 20px;
        position: fixed;
    }
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    background: rgba(0,0,0,0.5);
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.clickable-gallery-trigger {
    cursor: zoom-in;
}

.gallery-thumbnail-indicator {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

.swal2-container {
    z-index: 999999 !important;
}

/* SweetAlert2 Modern Glassmorphism Styling */
.swal2-popup.swal2-glass-popup {
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    padding: 24px !important;
}

.swal2-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--slate-900) !important;
}

.swal2-html-container {
    font-size: 14px !important;
    color: var(--slate-600) !important;
}

.swal2-confirm {
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
    box-shadow: none !important;
}

.swal2-cancel {
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
    box-shadow: none !important;
}
