/* ==========================================================================
   ABHIAD Modern Advertising Marketplace Design System
   Pure Vanilla CSS - High-Performance, Zero External CSS Framework Dependencies
   ========================================================================== */

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

:root {
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

    /* Theme Palette */
    --bg-dark: #0b0f19;
    --bg-card: #111827;
    --bg-card-hover: #172033;
    --bg-card-elevated: #1e293b;
    --bg-surface: #0f172a;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;

    /* Primary Vivid Accents */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --primary-glow: rgba(99, 102, 241, 0.25);

    /* Electric Cyan / Teal */
    --accent-cyan: #06b6d4;
    --accent-teal: #14b8a6;
    --cyan-glow: rgba(6, 182, 212, 0.2);

    /* Warm Amber & Gold */
    --accent-gold: #f59e0b;
    --accent-amber: #d97706;

    /* Semantics */
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --info: #38bdf8;
    --info-bg: rgba(56, 189, 248, 0.12);

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #f8fafc;
    --text-inverse-muted: #94a3b8;

    /* Borders & Lines */
    --border-light: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-focus: #6366f1;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.25);

    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container-fluid {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-dark);
    transition: var(--transition);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-inverse);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.brand-link:hover {
    opacity: 0.95;
}

.brand-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(49, 130, 246, 0.35));
    transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo-img {
    transform: scale(1.04);
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff 50%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-inverse-muted);
    padding: 0.5rem 0.25rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-cyan));
    border-radius: var(--radius-full);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* User Dropdown */
.user-menu {
    position: relative;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-dark);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    color: var(--text-inverse);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.user-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
}

.user-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
}

.dropdown-pane {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 230px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
    display: none;
    z-index: 110;
    animation: fadeIn 0.15s ease-out;
}

.user-menu:hover .dropdown-pane {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    color: var(--text-inverse-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.dropdown-divider {
    height: 1px;
    background: var(--border-dark);
    margin: 0.4rem 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.85rem 1.85rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.btn-cyan:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-amber:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-inverse);
    border-color: var(--border-dark);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border-color: var(--border-light);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-danger {
    background: #ef4444;
    color: #ffffff;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Hero Section (Dark & Vivid)
   ========================================================================== */

.hero-section {
    position: relative;
    background: radial-gradient(circle at 50% 20%, #1e1b4b 0%, #0b0f19 80%);
    color: var(--text-inverse);
    padding: 5.5rem 0 4.5rem 0;
    overflow: hidden;
}

.hero-glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
    border-radius: var(--radius-full);
    pointer-events: none;
    filter: blur(40px);
}

.hero-glow-orb.left {
    top: -100px;
    left: -150px;
}

.hero-glow-orb.right {
    bottom: -150px;
    right: -100px;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    max-width: 860px;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #38bdf8 70%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-inverse-muted);
    max-width: 680px;
    margin-bottom: 2.5rem;
}

/* Hero Search Console */
.hero-search-box {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    max-width: 1040px;
    margin-bottom: 1.5rem;
}

.search-form-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.field-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-inverse-muted);
}

.field-input, .field-select {
    width: 100%;
    padding: 0.75rem 0.95rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.field-input::placeholder {
    color: #64748b;
}

.field-input:focus, .field-select:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.field-select option {
    background: var(--bg-card);
    color: #ffffff;
}

.search-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-inverse-muted);
}

.pill-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    color: #cbd5e1;
    font-size: 0.8rem;
    transition: var(--transition);
}

.pill-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* ==========================================================================
   Metrics & Stats Ribbon
   ========================================================================== */

.metrics-ribbon {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-dark);
    padding: 2rem 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
}

.metric-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.5rem;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-inverse-muted);
    font-weight: 500;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: #f1f5f9;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    max-width: 600px;
}

/* ==========================================================================
   Media Asset Cards & Catalog Grid
   ========================================================================== */

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.asset-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.asset-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: #cbd5e1;
}

.card-media-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background: #0f172a;
    overflow: hidden;
}

.card-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.asset-card:hover .card-media-img {
    transform: scale(1.04);
}

.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    z-index: 2;
}

.badge-instant {
    background: rgba(16, 185, 129, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-type {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #e2e8f0;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
}

.card-ref-tag {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #f8fafc;
    font-size: 0.7rem;
    font-family: monospace;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}

.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-location-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-address {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.75rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.spec-item-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.spec-item-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.price-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-unit {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ==========================================================================
   Category Cards
   ========================================================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.cat-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.cat-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 0.85rem;
    transition: var(--transition);
}

.cat-card:hover .cat-icon-box {
    background: var(--primary);
    color: #ffffff;
}

.cat-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.cat-count {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Cities Grid
   ========================================================================== */

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.city-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    color: var(--text-inverse);
    overflow: hidden;
    transition: var(--transition);
}

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

.city-card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #38bdf8;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.city-card-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.city-card-count {
    font-size: 0.9rem;
    color: var(--text-inverse-muted);
}

/* ==========================================================================
   Detail Page & Booking Widget
   ========================================================================== */

.detail-layout-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.gallery-main-view {
    width: 100%;
    height: 440px;
    background: #0b0f19;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
}

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

.gallery-thumbs-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.gallery-thumb-item {
    width: 90px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-thumb-item.active, .gallery-thumb-item:hover {
    opacity: 1;
    border-color: var(--primary);
}

.booking-widget-card {
    position: sticky;
    top: 90px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
}

.widget-price-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.25rem;
}

.widget-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 0.3rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.widget-tab-btn {
    flex: 1;
    text-align: center;
    padding: 0.55rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    background: transparent;
    transition: var(--transition);
}

.widget-tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.price-breakdown-box {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin: 1.25rem 0;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.breakdown-row.total-row {
    border-top: 1px dashed var(--border-light);
    padding-top: 0.6rem;
    margin-top: 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* ==========================================================================
   Checkout Screen & Countdown Hold Timer
   ========================================================================== */

.checkout-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.hold-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    color: #ffffff;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.hold-timer-clock {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(56, 189, 248, 0.4);
    letter-spacing: 2px;
}

/* ==========================================================================
   Dashboards (Admin, Seller, Advertiser)
   ========================================================================== */

.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 72px);
}

.dashboard-sidebar {
    width: 260px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-dark);
    padding: 1.75rem 1rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-inverse-muted);
    padding: 0 0.75rem;
    margin-bottom: 0.75rem;
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 2rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-md);
    color: var(--text-inverse-muted);
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-link-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.25), rgba(79, 70, 229, 0.08));
    color: #a5b4fc;
    border-left: 3px solid var(--primary-light);
}

.dashboard-main {
    flex-grow: 1;
    background: #f8fafc;
    padding: 2.25rem;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.kpi-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kpi-title {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.kpi-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}

.kpi-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ==========================================================================
   Tables & Data Presentation
   ========================================================================== */

.table-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 2rem;
}

.table-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    background: #f8fafc;
    padding: 0.85rem 1.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}

.data-table td {
    padding: 1.1rem 1.25rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.data-table tr:hover td {
    background: #fafbfc;
}

/* ==========================================================================
   Status Badges
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: capitalize;
    white-space: nowrap;
}

.badge-success {
    background: var(--success-bg);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: var(--warning-bg);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-danger {
    background: var(--danger-bg);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-info {
    background: var(--info-bg);
    color: #0369a1;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-primary {
    background: var(--primary-glow);
    color: #3730a3;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-live {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #10b981;
    animation: pulseGlow 2s infinite;
}

.badge-completed {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.badge-secondary {
    background: #e2e8f0;
    color: #334155;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Campaign Timeline Stepper
   ========================================================================== */

.campaign-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.timeline-circle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: #e2e8f0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    border: 3px solid #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-step.completed .timeline-circle {
    background: var(--success);
    color: #ffffff;
}

.timeline-step.active .timeline-circle {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.timeline-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.timeline-step.active .timeline-label {
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================================================
   Forms, Modals & Alerts
   ========================================================================== */

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.7rem 0.95rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.alert-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
}

/* ==========================================================================
   GST Tax Invoice Printable Layout
   ========================================================================== */

.invoice-sheet {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 900px;
    margin: 2rem auto;
    box-shadow: var(--shadow-md);
    color: #0f172a;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 2px solid #0f172a;
    margin-bottom: 2rem;
}

.invoice-parties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.invoice-party-box {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

/* Print Rules */
@media print {
    body {
        background: #ffffff;
    }
    .site-header, .site-footer, .no-print {
        display: none !important;
    }
    .invoice-sheet {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        max-width: 100%;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--bg-dark);
    color: var(--text-inverse);
    border-top: 1px solid var(--border-dark);
    padding: 4.5rem 0 2rem 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-inverse-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-dark);
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .catalog-grid, .category-grid, .kpi-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-layout-grid, .checkout-grid {
        grid-template-columns: 1fr;
    }
    .search-form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dashboard-wrapper {
        flex-direction: column;
    }
    .dashboard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-dark);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .search-form-grid, .catalog-grid, .category-grid, .cities-grid, .metrics-grid, .footer-grid, .invoice-parties-grid {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
}
