/* Main CSS Styles - Clean Professional Luxe */

/* Premium Modern Theme - Clean Professional Luxe */
:root {
    --brand-primary: #1e293b;
    --brand-secondary: #334155;
    --brand-accent: #6366f1;
    --brand-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);

    /* Slate & Silk Palette */
    --sidebar-bg: #54778e;
    --content-bg: #e7e3d7;
    --sidebar-text: #ffffff;
    --sidebar-active-bg: rgba(255, 255, 255, 0.2);
    --sidebar-hover-bg: rgba(255, 255, 255, 0.1);

    --bg-main: var(--content-bg);
    --bg-canvas: var(--content-bg);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-blur: blur(12px);

    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    --pill-radius: 99px;
    --card-radius: 20px;
    --sidebar-radius: 35px;

    --shadow-premium: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);

    --font-header: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Lexend', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* --- GLOBAL ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(99, 102, 241, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(99, 102, 241, 0.2);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-canvas);
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.1) 0px, transparent 50%);
    color: var(--text-primary);
    font-family: var(--font-body);
    height: 100vh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-header);
    margin: 0;
    letter-spacing: -0.02em;
}

/* Utilities */
.btn {
    border: none;
    cursor: pointer;
    padding: 12px 28px;
    border-radius: var(--pill-radius);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: #ef4444;
    color: white;
}

.loading-screen {
    gap: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f3ff;
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth-module-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background: radial-gradient(circle at top left, #f3f6fa 0%, #e1e8f0 100%);
    animation: tab-fade-in 0.6s ease-out;
}

.login-card {
    background: white;
    padding: 50px 40px;
    border-radius: 32px;
    width: 380px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(12, 36, 97, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

.login-logo {
    font-family: var(--font-header);
    font-weight: 900;
    font-size: 28px;
    color: var(--brand-primary);
    margin-bottom: 30px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.login-logo span {
    color: var(--brand-secondary);
}

.login-input-group {
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}

.login-input-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #7f8c8d;
    margin-bottom: 6px;
    margin-left: 4px;
    letter-spacing: 0.5px;
}

.login-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 16px;
    border: 2px solid #f0f3ff;
    background: #f8fbff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.login-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: white;
    box-shadow: 0 10px 20px rgba(30, 55, 153, 0.05);
}

.loading-text {
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 24px;
    text-align: center;
    color: var(--primary-blue);
    letter-spacing: 0.1em;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(74, 112, 139, 0.2);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* --- TOP NAVIGATION --- */
.top-nav {
    background: #ffffff;
    height: 74px;
    /* Slightly taller */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    /* More padding */
    border-bottom: 2px solid #f1f5f9;
}

.nav-tabs {
    display: flex;
    gap: 8px;
    height: 100%;
    align-items: center;
    position: relative;
    /* Context for indicator */
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    height: 4px;
    background: #1e3a8a;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.nav-tab {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    white-space: nowrap;
}

.nav-tab:hover {
    color: #1e3a8a;
    background: #f8fafc;
}

.nav-tab.active {
    color: #1e3a8a;
    background: transparent;
}

/* Sliding Indicator handled globally */
.nav-tab.active::after {
    display: none;
}

.view-container {
    padding: 40px;
}

/* Adjust layout for top nav */
.main-layout {
    padding-top: 70px;
    /* Space for fixed header */
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    border-right: none;
    border-top-right-radius: var(--sidebar-radius);
    border-bottom-right-radius: var(--sidebar-radius);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: var(--transition-smooth);
    height: calc(100vh - 84px);
    position: fixed;
    left: 0;
    top: 74px;
    padding: 30px 20px;
    color: var(--sidebar-text);
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.1);
}

/* FIXED SIDEBAR - NO TOGGLE */
.btn-minimize {
    display: none !important;
}

/* SIDEBAR MENU ITEM SYNC (WHITE TEXT) */
.sidebar .menu-item {
    color: rgba(255, 255, 255, 0.7) !important;
    display: flex;
    align-items: center;
    gap: 15px;
    /* Slightly more gap */
    padding: 12px 20px !important;
    /* Balanced padding */
    border-radius: 18px !important;
    /* Softer corners */
    cursor: pointer;
    margin-bottom: 8px !important;
    /* Slightly more space */
    transition: all 0.2s ease;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
}

.sidebar .menu-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.sidebar .menu-item.active {
    background: transparent !important;
    color: #ffffff !important;
}

.sidebar-indicator {
    position: absolute;
    left: 0;
    right: 0;
    height: 46px;
    /* Slightly taller for better breathing room */
    background: rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    /* Match menu item */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}


.sidebar .menu-item {
    position: relative;
    z-index: 10;
}

.sidebar .menu-label {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* IMPROVED TOGGLE BUTTON VISIBILITY */
.btn-minimize {
    background: #f1f5f9 !important;
    color: #475569 !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    cursor: pointer;
    z-index: 100;
}

.btn-minimize:hover {
    background: #e2e8f0 !important;
    color: var(--brand-primary) !important;
}

.sidebar.collapsed .menu-item,
.sidebar.collapsed .btn {
    justify-content: center;
    padding: 10px 0;
    position: relative;
    /* Context for tooltip */
}

/* FORCE TEXT VISIBILITY IN EXPANDED STATE - Clean Professional Style */
.sidebar .menu-item span,
.sidebar .btn span {
    display: inline !important;
    color: #ffffff !important;
    /* Force White for Slate theme */
    opacity: 1 !important;
    visibility: visible !important;
}

.sidebar .menu-item:hover span,
.sidebar .menu-item.active span {
    color: #ffffff !important;
}

/* TOOLTIP FOR COLLAPSED SIDEBAR (Menu Items & Buttons) */
.sidebar.collapsed .menu-item::after,
.sidebar.collapsed .btn::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
    z-index: 1002;
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar.collapsed .menu-item:hover::after,
.sidebar.collapsed .btn:hover::after {
    opacity: 1;
    margin-left: 15px;
    /* Slide out effect */
}

/* Arrow for tooltip */
.sidebar.collapsed .menu-item::before,
.sidebar.collapsed .btn::before {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
    opacity: 0;
    transition: all 0.2s;
    margin-left: 0px;
    pointer-events: none;
}

.sidebar.collapsed .menu-item:hover::before,
.sidebar.collapsed .btn:hover::before {
    opacity: 1;
    margin-left: 5px;
}

/* Toggle Button */
.sidebar-toggle {
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 30px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--brand-primary);
    font-size: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: all 0.2s;
}

.sidebar-toggle:hover {
    transform: scale(1.1);
}

/* --- RESPONSIVE GRID SYSTEM --- */
.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.flex-responsive {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- TAB NAVIGATION (Scrollable) --- */
.nav-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
    position: relative;
}

/* Scrollable Menu Area */
#sidebar-menu {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
    /* Space for scrollbar */
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* Webkit Scrollbar for Sidebar */
#sidebar-menu::-webkit-scrollbar {
    width: 4px;
}

#sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}

#sidebar-menu::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Bottom Actions Container */
.sidebar-footer {
    flex-shrink: 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.content-area {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    position: relative;
    margin-left: 0;
    /* Default: No sidebar (e.g. login page) */
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Adjust content ONLY when sidebar IS PRESENT */
body.has-sidebar .content-area {
    margin-left: 260px;
}

body.has-sidebar.sidebar-collapsed .content-area {
    margin-left: 260px;
}


/* Card Style */
.kanban-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--card-radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-premium);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.kanban-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-accent);
    box-shadow: var(--shadow-hover);
}

.kanban-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #e2e8f0;
    transition: var(--transition-smooth);
}

.kanban-card:hover::before {
    background: var(--brand-accent);
}

/* --- CARD LOADING STATE (DARK PULSE) --- */
.kanban-card.loading {
    pointer-events: none;
    position: relative;
    transform: scale(0.98);
    filter: saturate(0.5);
}

.kanban-card.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 10;
    border-radius: 20px;
    animation: pulseDark 1.5s infinite ease-in-out;
    backdrop-filter: blur(1px);
}

.kanban-card.loading::before {
    content: "Verifying...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 800;
    color: white;
    z-index: 11;
    background: var(--primary-blue);
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 71, 255, 0.3);
}

/* --- REVISION STATE --- */
.kanban-card.revision {
    border-left: 5px solid var(--accent-red) !important;
    box-shadow: 0 0 15px rgba(214, 48, 49, 0.2), var(--shadow-soft);
}

.kanban-card.revision:hover {
    box-shadow: 0 0 25px rgba(214, 48, 49, 0.4), var(--shadow-hover);
}

.revision-box {
    background: rgba(214, 48, 49, 0.05);
    border: 1px solid rgba(214, 48, 49, 0.2);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    animation: slideUpFade 0.4s ease forwards;
}

.revision-box h4 {
    color: var(--accent-red);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.revision-badge {
    background: var(--accent-red);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- CARD ACTIONS --- */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
}

.btn-card {
    padding: 8px 12px;
    font-size: 11px;
    justify-content: center;
    width: 100%;
}

.btn-siap-review {
    background: #2D3436;
    /* Dark Retro */
    color: white;
}

.tab-content-active {
    animation: tab-fade-in 0.4s ease-out forwards;
}

/* Dynamic Form Styles */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 14px;
    background: rgba(15, 23, 42, 0.4);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--brand-primary);
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.pill-info {
    background: #eee;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
}

/* --- GRID UTILITIES --- */
.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.flex-responsive {
    display: flex;
    gap: 30px;
}

.grid-full {
    grid-column: 1 / -1;
}

/* --- STRATEGY BOARD (PREMIUM OVERHAUL) --- */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    /* Wider cards */
    gap: 30px;
    padding: 20px 0;
}

.strategy-card {
    background: rgba(255, 255, 255, 0.7);
    /* Silk-like glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    /* Softer radius */
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.strategy-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    border-color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-blue);
}

.strategy-card.ks::before {
    background: linear-gradient(90deg, #FFDD00, #003399);
}

.strategy-card.ksd::before {
    background: linear-gradient(90deg, #637434, #D4AF37);
}

.strategy-date {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sidebar-bg);
    opacity: 0.6;
}

.strategy-platform-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.strategy-platform-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.strategy-title {
    font-family: var(--font-header);
    font-size: 22px;
    /* Bigger title */
    font-weight: 900;
    line-height: 1.25;
    color: #1e293b;
}

.strategy-details {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    font-style: italic;
}

.strategy-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.strategy-archetype {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    background: var(--brand-secondary);
    color: white;
    border-radius: 4px;
}

.btn-jadikan-ide {
    background: var(--primary-blue);
    color: white;
    font-size: 8px;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-jadikan-ide:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.home-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

/* --- GUIDELINE PREMIUM VIEWING --- */
.guideline-page-container {
    padding: 40px;
}

.guideline-hero-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
    overflow: visible;
    /* Allow stickers to bleed slightly if needed */
}

.guideline-hero-sub {
    color: #6c5ce7;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.guideline-hero-title {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.guideline-hero-desc {
    color: #444;
    font-size: 18px;
    letter-spacing: 0.5px;
    font-weight: 600;
    max-width: 500px;
}

.guideline-brand-toggle {
    background: rgba(0, 0, 0, 0.03);
    padding: 8px;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 8px;
}

.btn-toggle {
    border-radius: 24px;
    min-width: 220px;
    height: 50px;
    font-weight: 900;
    transition: all 0.3s;
    background: transparent;
    color: #888;
    border: none;
    cursor: pointer;
}

.btn-toggle.active {
    background: var(--brand-primary);
    color: white !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.guideline-section {
    margin-bottom: 100px;
}

.guideline-sec-header {
    color: #1a1a1a;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    letter-spacing: -2px;
}

.guideline-sec-num {
    background: var(--brand-primary);
    color: white;
    width: 65px;
    height: 65px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 26px;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 1024px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PREMIUM TOAST NOTIFICATIONS --- */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100000;
    pointer-events: none;
}

.premium-toast {
    min-width: 280px;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: toast-slide-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border-left: 6px solid #333;
    pointer-events: auto;
}

.premium-toast.success {
    border-left-color: #27ae60;
}

.premium-toast.error {
    border-left-color: #e74c3c;
}

.premium-toast.warning {
    border-left-color: #f39c12;
}

.premium-toast.info {
    border-left-color: #3498db;
}

.toast-icon {
    font-size: 20px;
}

.toast-content {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

@keyframes toast-slide-in {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-fade-out {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(0.9);
        opacity: 0;
    }
}

/* --- DRIVE-STYLE CATCHY LOADER --- */

/* --- DRIVE-STYLE CATCHY LOADER --- */
.stealth-loader {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #1A1A1A;
    color: white;
    padding: 12px 20px;
    border-radius: 100px;
    display: none;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: pillExpand 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    overflow: hidden;
    white-space: nowrap;
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid #FFF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* --- ADVANCED MEDIA GALLERY --- */
.gallery-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 12000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: tab-fade-in 0.4s ease-out forwards;
}

.gallery-container {
    background: rgba(20, 20, 25, 0.95);
    color: white;
    width: 90%;
    height: 85vh;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    flex: 1;
}

.gallery-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 220px;
}

.gallery-item.selected {
    border-color: var(--primary-blue);
    background: var(--bg-cream);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: block;
    flex-shrink: 0;
}

.gallery-info {
    padding: 12px;
    font-size: 11px;
    text-align: center;
    font-weight: 600;
    color: #333;
    background: #fafafa;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;

}

/* --- PREMIUM ZOOM VIEWER --- */
.viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 13000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: tab-fade-in 0.3s ease-out;
}

.viewer-content {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease;
    cursor: zoom-in;
    cursor: -webkit-zoom-in;
}

.viewer-content.zoomed {
    transform: scale(2);
    cursor: grab;
}

.viewer-actions {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 100px;
    z-index: 13001;
}

.viewer-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 13001;
}

/* --- GEN Z & MEDIA VIBES --- */
:root {
    --spring-curve: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --neon-blue: #00d2ff;
    --deep-glass: rgba(255, 255, 255, 0.1);
}

/* Sliding Sidebar Indicator */
#sidebar-menu {
    position: relative;
    padding-top: 10px;
}

.active-pill-background {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 45px;
    background: rgba(30, 41, 59, 0.08);
    /* Sophisticated Slate Tint instead of White */
    border-radius: 12px;
    transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1), height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Subtle inner border */
    border-left: 4px solid var(--brand-primary, #1e293b);
}

/* Bouncy Animations */
.bouncy-in {
    animation: bouncyIn 0.5s var(--spring-curve) forwards;
}

@keyframes bouncyIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-pulse 1.5s infinite;
    border-radius: 12px;
}

@keyframes loading-pulse {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Gallery Checkbox Corner */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-checkbox-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: 2px solid #ddd;
    transition: var(--transition-smooth);
}

.gallery-item.selected .gallery-checkbox-wrapper {
    background: var(--success-green);
    border-color: var(--success-green);
    transform: scale(1.1);
}

.gallery-checkbox-wrapper::after {
    content: '✓';
    color: transparent;
    font-size: 14px;
    font-weight: 900;
}

.gallery-item.selected .gallery-checkbox-wrapper::after {
    color: white;
}

.gallery-thumb-container {
    pointer-events: auto;
    cursor: zoom-in;
}

/* Deep Glass Modal */
.gallery-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}


/* --- FORMAT-BASED CARD BACKGROUNDS --- */
.format-videography {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-left-color: #3498db !important;
    position: relative;
    overflow: hidden;
}

.format-videography::after {
    content: '🎬';
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 60px;
    opacity: 0.08;
    pointer-events: none;
}

.format-contentcreator {
    background: linear-gradient(135deg, #ffffff 0%, #f9f0ff 100%);
    border-left-color: #9b59b6 !important;
    position: relative;
    overflow: hidden;
}

.format-contentcreator::after {
    content: '🎨';
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 60px;
    opacity: 0.08;
    pointer-events: none;
}

.format-fotodesain {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%);
    border-left-color: #e67e22 !important;
    position: relative;
    overflow: hidden;
}

.format-fotodesain::after {
    content: '📸';
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 60px;
    opacity: 0.08;
    pointer-events: none;
}

/* --- UNIFORM MINIMAL ANIMATION --- */
@keyframes card-breathe {

    0%,
    100% {
        transform: translateY(0px);
        opacity: 1;
    }

    50% {
        transform: translateY(-2px);
        opacity: 0.98;
    }
}

.kanban-card {
    animation: card-breathe 4s ease-in-out infinite;
}

/* --- STRATEGIC INBOX (GMAIL STYLE) --- */
.inbox-container {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-top: 20px;
}

.inbox-header {
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}

.inbox-list {
    max-height: 70vh;
    overflow-y: auto;
}

.inbox-item {
    display: grid;
    grid-template-columns: 40px 1.5fr 3fr 1fr;
    padding: 15px 30px;
    border-bottom: 1px solid #f8f8f8;
    cursor: pointer;
    transition: background 0.2s;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.inbox-item:hover {
    background: #f0f7ff;
}

/* --- GUIDELINE SPECIFIC STYLES --- */
:root {
    --brand-primary: #e67e22;
    /* Default */
    --brand-bg: #f4f6f8;
}

/* GLOBAL: GEN Z CREATIVE THEME (Light & Electric) */
body.theme-creative {
    --brand-primary: #6c5ce7;
    --brand-secondary: #00cec9;
    --brand-accent: #ff7675;
    --brand-bg: #f0f3ff;
    --brand-font: 'Plus Jakarta Sans', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(108, 92, 231, 0.1);
    --text-color: #2d3436;
    /* Dark text for light theme */
    --sidebar-bg: #6c5ce7;
    --sidebar-text: #ffffff;
    --sidebar-pill: rgba(255, 255, 255, 0.15);
    --sidebar-button-bg: rgba(255, 255, 255, 0.2);
    --sidebar-button-text: #ffffff;

    background: linear-gradient(135deg, #f0f3ff 0%, #e0e7ff 100%) !important;
    background-color: #f0f3ff !important;
    background-attachment: fixed !important;
    color: #2d3436 !important;
    transition: background 0.5s ease;
}

body.theme-creative .top-nav {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
}

body.theme-creative .active-pill-background {
    background: linear-gradient(90deg, rgba(140, 122, 230, 0.4), rgba(108, 92, 231, 0.6));
    /* More vibrant purple highlight */
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* KS THEME (Alive & Energetic) */
body.theme-ks {
    --brand-primary: #013285;
    /* KS Blue */
    --brand-secondary: #ffdd00;
    /* KS Yellow */
    --brand-accent: #e1f5fe;
    /* Soft Blue helper */
    --brand-bg: #f8fbff;
    --brand-font: 'Fredoka', sans-serif;
    --text-color: #01225a;
    --sidebar-bg: #013285;
    --sidebar-text: #ffffff;
    --sidebar-pill: rgba(255, 221, 0, 0.2);
    --sidebar-button-bg: #ffdd00;
    --sidebar-button-text: #013285;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(1, 50, 133, 0.15);

    background: linear-gradient(135deg, #f8fbff 0%, #e8f0fe 100%) !important;
    background-attachment: fixed !important;
    color: #01225a !important;
    font-family: var(--brand-font) !important;
}

body.theme-ks .top-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 3px solid var(--brand-primary);
    box-shadow: 0 4px 30px rgba(0, 86, 179, 0.1);
}

body.theme-ks .section-headline {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px rgba(255, 221, 0, 0.3);
    color: var(--brand-primary);
    padding-bottom: 5px;
    border-bottom: 4px solid var(--brand-secondary);
    display: inline-block;
    border-radius: 0 0 8px 8px;
}

/* KS DINE THEME (Warm & Premium Family) */
body.theme-ksd {
    --brand-primary: #637434;
    /* Deep Green */
    --brand-secondary: #a3ae3a;
    /* Light Green */
    --brand-accent: #f0e0c3;
    /* Cream */
    --brand-bg: #fdfbf7;
    --brand-font: 'Cormorant Garamond', serif;
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(99, 116, 52, 0.15);
    --text-color: #2c2c2c;
    --sidebar-bg: #637434;
    --sidebar-text: #ffffff;
    --sidebar-pill: rgba(163, 174, 58, 0.25);
    --sidebar-button-bg: #a3ae3a;
    --sidebar-button-text: #ffffff;

    background: radial-gradient(circle at top right, #fdfbf7 0%, #f0e0c3 100%) !important;
    background-attachment: fixed !important;
    color: #2c2c2c !important;
    transition: background 0.5s ease;
    font-family: var(--brand-font) !important;
}

body.theme-ksd .top-nav {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--brand-primary);
    box-shadow: 0 4px 30px rgba(139, 115, 85, 0.1);
}

body.theme-ksd .section-headline {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 32px;
    letter-spacing: 0.5px;
    color: var(--brand-primary);
    border-left: 5px solid var(--brand-secondary);
    padding-left: 15px;
    margin-bottom: 25px;
}

.guideline-hero-logo {
    height: 80px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.guideline-hero-logo:hover {
    transform: scale(1.05);
}

/* Refined Sidebar Pill for KS */
body.theme-ks .active-pill-background {
    background: linear-gradient(90deg, rgba(255, 221, 0, 0.4), rgba(255, 221, 0, 0.6));
    box-shadow: 0 4px 15px rgba(255, 221, 0, 0.3);
    border-right: 4px solid #ffffff;
    border-left: none;
}

/* Refined Sidebar Pill for KSD */
body.theme-ksd .active-pill-background {
    background: linear-gradient(90deg, rgba(163, 174, 58, 0.4), rgba(99, 116, 52, 0.6));
    box-shadow: 0 4px 15px rgba(99, 116, 52, 0.2);
    border-left: 4px solid var(--brand-accent);
}

/* BRAND VISUAL TEXTURES */
.bg-marble {
    background-image: url("https://www.transparenttextures.com/patterns/white-diamond.png");
    /* Subtle marble-like pattern */
}

.bg-wood {
    background-image: url("https://www.transparenttextures.com/patterns/wood-pattern.png");
}

.bg-graphics {
    background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
}

/* GLASS CARD OVERRIDES (Only active when body has theme class) */
body[class*="theme-"] .guideline-toc {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    color: #333;
    /* Dark TOC text */
}

body[class*="theme-"] .toc-item {
    color: #555;
    /* Dark TOC item */
}

body[class*="theme-"] .toc-item:hover,
body[class*="theme-"] .toc-item.active {
    background: var(--brand-primary);
    color: #000;
    box-shadow: 0 0 15px var(--brand-primary);
}

body[class*="theme-"] .request-card {
    background: var(--glass-bg);
    /* Premium Solid Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Frosted border */
    color: #1a1a1a;
    /* Enforce dark text */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

body[class*="theme-"] .request-card h3 {
    color: var(--brand-primary) !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

body[class*="theme-"] .request-card div {
    color: inherit !important;
}

.guideline-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .guideline-layout {
        grid-template-columns: 1fr;
    }

    .guideline-toc {
        display: none;
        /* Hide ToC on mobile for now */
    }
}

.guideline-toc {
    position: sticky;
    top: 20px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
    max-height: 80vh;
    overflow-y: auto;
}

.toc-item {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    cursor: pointer;
}

.toc-item:hover,
.toc-item.active {
    background: var(--brand-bg);
    color: var(--brand-primary);
    font-weight: 700;
    transform: translateX(5px);
}

.guideline-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- INBOX CARDS (NEW) --- */
.request-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.request-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-blue);
}

.request-card.unread {
    background: #fffbeb;
    /* Soft Amber */
    border: 1px solid #fcd34d;
    border-left: 6px solid #f59e0b;
}

.request-card.unread .card-title {
    font-weight: 900;
    color: #b45309;
    position: relative;
}

.request-card.unread .card-title::before {
    content: "●";
    color: #f59e0b;
    font-size: 10px;
    position: absolute;
    left: -15px;
    top: 2px;
}

.request-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.request-card .card-title {
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 18px;
    /* Larger title */
    color: #1a1a1a;
    /* Dark solid text */
    line-height: 1.3;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.request-card .card-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.request-card .card-desc {
    background: rgba(0, 0, 0, 0.04);
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    /* Darker text for readability */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.inbox-item.unread {
    background: #fff;
    font-weight: 700;
    color: #222;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: inline-block;
}

.inbox-empty {
    text-align: center;
    padding: 100px 50px;
    color: #aaa;
    font-style: italic;
}

/* --- THE GOLDEN TICKET FORM --- */
.brief-form-container {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tier-selector {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.tier-option {
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-color, #444);
    padding: 15px;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.tier-option:hover {
    border-color: var(--primary-blue);
    background: #f8fbff;
}

.tier-option.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

.tier-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.tier-1 {
    background: #ffe3e3;
    color: #e03131;
}

.tier-2 {
    background: #e3f2fd;
    color: #1976d2;
}

.tier-3 {
    background: #e9fac8;
    color: #5c940d;
}

.goal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.goal-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* GLOBAL GLASS COMPONENTS (When Global Theme Active) */
body[class*="theme-"] .sidebar {
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    color: var(--sidebar-text);
}

body[class*="theme-"] .form-input,
body[class*="theme-"] textarea {
    background: rgba(255, 255, 255, 0.9);
    /* Lighter background */
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Darker border */
    color: #1a1a1a;
    /* Dark text */
}

body[class*="theme-"] .form-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
    /* Darker placeholder */
}

body[class*="theme-"] .menu-item {
    color: rgba(0, 0, 0, 0.7);
    /* Dark text */
}

body[class*="theme-"] .menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

body[class*="theme-"] .menu-item.active {
    background: transparent !important;
    /* Let the sliding pill show */
    color: white !important;
    font-weight: 900;
    letter-spacing: 0.5px;
}

/* --- BERANDA DASHBOARD ELEMENTS --- */
.header-logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 20px;
}

.header-logo-item {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    transition: var(--transition-bounce);
}

.header-logo-item:hover {
    transform: scale(1.1);
}

.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-welcome-section {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 40px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.social-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: var(--transition-bounce);
    cursor: pointer;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.social-card:hover {
    background: rgba(255, 255, 255, 0.5);
    /* Lighter hover */
    transform: translateY(-10px);
    border-color: var(--brand-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.social-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 5px;
}

.ig-ks {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.ig-ksd {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.tk-ks {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-dashboard {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    /* Darker label */
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-value {
    font-weight: 800;
    font-size: 20px;
    color: #1a1a1a;
    /* Dark stat value */
}

.info-hub-card {
    background: rgba(255, 255, 255, 0.9);
    /* Light background */
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Dark border */
    backdrop-filter: blur(10px);
}

.operational-text {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    /* Dark operational text */
}

@media (max-width: 900px) {
    .home-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .home-welcome-section {
        grid-column: span 1;
    }
}

/* --- ENHANCED GUIDELINE STYLES --- */
.guideline-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.guideline-toc {
    position: sticky;
    top: 100px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    z-index: 100;
    transition: all 0.3s ease;
}

.toc-item {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    margin-bottom: 8px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
    background: #fcfcfc;
}

.toc-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--brand-primary);
    padding-left: 20px;
}

.guideline-section {
    margin-bottom: 60px;
}

/* Persona Grid */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.strategy-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    border-left: 4px solid transparent;
    margin-bottom: 20px;
    position: relative;
    /* Allow absolute positioning of badge */
}

.strategy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* CONVERSION BADGE */
.converted-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 12px rgba(39, 174, 96, 0.4);
    animation: badge-pop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
}

@keyframes badge-pop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.persona-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.persona-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.persona-card-banner {
    height: 80px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.persona-avatar-new {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: -30px;
}

.persona-card-body {
    padding: 40px 24px 24px;
    text-align: center;
}

.persona-name {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.persona-subtitle {
    font-size: 12px;
    color: #888;
    font-weight: 700;
    margin-top: 4px;
    letter-spacing: 0.3px;
    padding: 4px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    display: inline-block;
}

.persona-details-grid {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.persona-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #f9f9fb;
    transition: background 0.2s;
}

.persona-detail-row:hover {
    background: #f0f0f5;
}

.persona-detail-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.persona-detail-content {
    flex: 1;
}

.persona-detail-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #999;
    margin-bottom: 2px;
}

.persona-detail-value {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

#module-guideline {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 100, 100, 0.05) 100%);
    border-radius: 40px;
    padding: 5px;
}

/* Comparison Grid (DO'S & DON'TS) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.comparison-box {
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-box.dos {
    background: rgba(46, 213, 115, 0.05);
    border-left: 5px solid #2ed573;
}

.comparison-box.donts {
    background: rgba(255, 71, 87, 0.05);
    border-left: 5px solid #ff4757;
}

.comp-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dos .comp-title {
    color: #2ed573;
}

.donts .comp-title {
    color: #ff4757;
}

.guideline-pill {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    margin: 0 5px 5px 0;
    color: var(--brand-primary);
}

/* --- PREMIUM GUIDELINE STYLES --- */
.guideline-hero-title {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #1a1a1a 20%, var(--brand-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guideline-hero-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Editor Enhancements */
.editor-toolbar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    padding: 10px 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.tool-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}

.tool-btn:hover {
    background: var(--brand-primary);
    color: black;
    transform: translateY(-2px);
}

.persona-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.persona-avatar {
    width: 50px;
    height: 50px;
    background: var(--brand-primary);
    color: black;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.guideline-section h2 span {
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

@media (max-width: 1200px) {
    .guideline-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .guideline-toc {
        position: relative;
        top: 0 !important;
        margin-bottom: 50px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
        z-index: 10;
    }

    .guideline-hero-title {
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .guideline-section h2 {
        font-size: clamp(24px, 5vw, 32px) !important;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px !important;
        line-height: 1.2;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ENHANCED DASHBOARD STYLES --- */
.dashboard-hero {
    text-align: left;
    margin-bottom: 50px;
    position: relative;
}

.hero-greeting {
    font-size: 56px;
    font-weight: 900;
    color: var(--brand-primary);
    letter-spacing: -3px;
    line-height: 1;
    margin: 0 0 15px 0;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.2));
}

.hero-subtext {
    font-size: 14px;
    color: #6c5ce7;
    /* Distinct secondary color */
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meter-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.meter-row {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    align-items: center;
    gap: 15px;
}

.meter-label {
    font-size: 11px;
    font-weight: 800;
    color: #666;
    text-transform: uppercase;
}

.meter-track {
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.meter-fill {
    height: 100%;
    background: var(--brand-primary);
    border-radius: 10px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 10px var(--brand-primary);
}

.meter-value {
    font-family: monospace;
    font-weight: 900;
    font-size: 14px;
    color: #2d3436;
    text-align: right;
}

.focus-card {
    background: var(--brand-primary);
    color: white;
    padding: 30px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 25px;
    grid-column: span 2;
    margin-bottom: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: none;
}

.focus-icon-box {
    width: 70px;
    height: 70px;
    background: var(--brand-primary);
    color: black;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    flex-shrink: 0;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #2ed573;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px #2ed573;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Home Override */
@media (max-width: 900px) {
    .hero-greeting {
        font-size: 42px;
    }

    .focus-card {
        flex-direction: column;
        text-align: center;
    }

    .meter-row {
        grid-template-columns: 1fr 40px;
    }

    .meter-label {
        display: none;
    }
}

/* --- DASHBOARD DIAGRAM (DONUT) --- */
.diagram-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.donut-chart {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(#f1c40f 0deg,
            #f1c40f var(--p1),
            #3498db var(--p1),
            #3498db var(--p2),
            #9b59b6 var(--p2),
            #9b59b6 var(--p3),
            #2ecc71 var(--p3),
            #2ecc71 360deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 1s ease;
}

.donut-chart::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.donut-label {
    position: absolute;
    z-index: 2;
    text-align: center;
}

.donut-total {
    font-size: 28px;
    font-weight: 900;
    color: #1a1a1a;
    display: block;
}

.donut-sub {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diagram-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #444;
    font-weight: 600;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

@media (max-width: 600px) {
    .diagram-container {
        flex-direction: column;
    }
}

/* --- RESPONSIVE SHOOT CARD --- */
.shoot-card {
    background: white;
    border-radius: 24px;
    padding-bottom: 20px;
    /* Header handles top padding */
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.shoot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-primary);
}

.shoot-header {
    background: var(--brand-primary);
    color: white;
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.shoot-content {
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shoot-title {
    font-family: var(--font-header);
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.shoot-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.shoot-badge {
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    color: #444;
    font-size: 11px;
}

.shoot-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns by default */
    gap: 10px;
    padding: 0 20px;
    margin-top: auto;
}

@media (max-width: 1200px) {
    .shoot-actions {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on smaller screens */
    }
}

/* Action Buttons specific for Shoot Card */
.btn-shoot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 5px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    transition: all 0.2s;
    height: 100%;
    min-height: 70px;
    border: none;
    cursor: pointer;
}

.btn-shoot i,
.btn-shoot span.icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.btn-upload {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    color: #006064;
    border: 1px solid #b2ebf2;
}

.btn-upload:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 96, 100, 0.2);
}

.btn-info {
    background: #f5f5f5;
    color: #444;
    border: 1px solid #eee;
}

.btn-info:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.btn-link {
    background: #e8f0fe;
    color: #1967d2;
    border: 1px solid #d2e3fc;
}

.btn-link:hover {
    background: #d2e3fc;
    transform: translateY(-2px);
}

.btn-done {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

/* --- RESPONSIVE FINAL ACTION CARD --- */
.final-card {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.final-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* PENDING STATE (Red) */
.final-card.pending {
    border-left: 6px solid #e74c3c;
}

.final-card.pending .final-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.final-card.pending:hover {
    border-color: #e74c3c;
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.15);
}

/* READY STATE (Green) */
.final-card.ready {
    border-left: 6px solid #2ecc71;
}

.final-card.ready .final-header {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.final-card.ready:hover {
    border-color: #2ecc71;
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.15);
}

.final-header {
    padding: 12px 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.final-content {
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.final-date-badge {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.final-topic {
    font-family: var(--font-header);
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.final-details {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    font-size: 11px;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.final-details strong {
    color: #222;
    font-weight: 700;
}

.final-actions {
    padding: 0 20px;
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-final-action {
    flex: 1;
    padding: 12px;
    border-radius: 15px;
    border: none;
    font-weight: 800;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}

.btn-final-upload {
    background: #34495e;
    color: white;
    box-shadow: 0 5px 15px rgba(52, 73, 94, 0.2);
}

.btn-final-upload:hover {
    background: #2c3e50;
    transform: translateY(-2px);
}

.btn-final-check {
    background: #f39c12;
    color: white;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.2);
}

.btn-final-check:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.btn-final-success {
    background: #27ae60;
    color: white;
    width: 100%;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
}

.btn-final-success:hover {
    background: #219150;
    transform: translateY(-2px);
}

.btn-done:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27, 94, 32, 0.2);
}

.modal-premium-container {
    background: white !important;
    color: #1a1a1a !important;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2) !important;
}

.form-group-wrap {
    position: relative;
    margin-bottom: 5px;
}

.input-float-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
    display: block;
    padding-left: 2px;
    opacity: 0.8;
}

.premium-input {
    background: #f8fbff !important;
    border: 2px solid #f0f3ff !important;
    color: #1a1a1a !important;
    border-radius: 16px !important;
    height: 52px;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 18px !important;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    font-size: 15px !important;
    appearance: none;
}

textarea.premium-input {
    height: auto !important;
    padding: 18px !important;
    display: block;
}

.premium-input:focus {
    border-color: var(--brand-primary) !important;
    background: white !important;
    box-shadow: 0 10px 20px rgba(74, 112, 139, 0.05) !important;
}

/* --- DEVELOPER WATERMARK --- */

/* --- DEVELOPER WATERMARK --- */
.dev-watermark {
    position: fixed;
    bottom: 12px;
    right: 16px;
    background: none;
    border: none;
    padding: 0;
    font-size: 9px;
    color: rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: auto;
    cursor: default;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.dev-watermark:hover {
    color: rgba(0, 0, 0, 0.35);
}

.dev-watermark a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.dev-watermark a:hover {
    text-decoration: underline;
}

.dev-watermark span {
    font-weight: 400;
}

/* --- DEVELOPER DASHBOARD --- */
.dev-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.dev-card-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-weight: 800;
    font-size: 14px;
    color: #2c3e50;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dev-card-body {
    padding: 20px;
}

.dev-input-group {
    margin-bottom: 20px;
}

.dev-input-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.dev-input-group input[type="color"] {
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 13px;
    color: #444;
}

.badge-secure {
    background: #e8f5e9;
    color: #27ae60;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ===== REQUEST MARKETING REDESIGN ===== */
.rm-header {
    text-align: center;
    margin-bottom: 40px;
}

.rm-title {
    color: var(--brand-primary);
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
}

.rm-subtitle {
    font-size: 16px;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.rm-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.rm-guide-panel {
    background: white;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.rm-guide-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.rm-guide-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    color: #1a1a1a;
}

.rm-guide-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.rm-guide-intro {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.rm-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rm-guide-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #f8f9fc;
    transition: background 0.2s;
}

.rm-guide-step:hover {
    background: #f0f2f8;
}

.rm-guide-step b {
    font-size: 13px;
    color: #1a1a1a;
    display: block;
}

.rm-guide-step span {
    font-size: 11px;
    color: #888;
}

.rm-step-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 10px;
    background: var(--brand-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.rm-guide-quote {
    margin-top: 20px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff9e6, #fff3cc);
    border: 1px solid #ffe680;
    font-size: 12px;
    font-weight: 600;
    color: #8a6d00;
    line-height: 1.6;
}

.rm-guide-quote span {
    font-size: 16px;
    margin-right: 6px;
}

.rm-form-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rm-form-section {
    background: white;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.rm-section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.rm-field {
    margin-bottom: 20px;
}

.rm-field:last-child {
    margin-bottom: 0;
}

.rm-label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

.rm-required {
    color: #D63031;
    font-weight: 900;
}

.rm-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #eee;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    background: #fafbfc;
    transition: all 0.3s;
    outline: none;
    color: #222;
    box-sizing: border-box;
    font-family: inherit;
}

.rm-input:focus {
    border-color: var(--brand-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.rm-input::placeholder {
    color: #bbb;
    font-weight: 400;
}

.rm-textarea {
    height: 70px;
    resize: vertical;
    line-height: 1.5;
}

.rm-textarea-lg {
    height: 110px;
}

.rm-tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.rm-tier-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafbfc;
}

.rm-tier-card:hover {
    border-color: #ccc;
    background: white;
    transform: translateY(-2px);
}

.rm-tier-card.active {
    border-color: var(--brand-primary);
    background: white;
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.15);
}

.rm-tier-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    color: white;
}

.rm-tier-info {
    display: flex;
    flex-direction: column;
}

.rm-tier-info b {
    font-size: 13px;
    color: #1a1a1a;
}

.rm-tier-info span {
    font-size: 10px;
    color: #888;
    font-weight: 600;
}

.rm-tier-lead {
    font-size: 10px !important;
    color: var(--brand-primary) !important;
    font-weight: 800 !important;
    margin-top: 2px;
}

.rm-goal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.rm-goal-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafbfc;
}

.rm-goal-card:hover {
    border-color: #ccc;
    background: white;
}

.rm-goal-card input[type="checkbox"] {
    display: none;
}

.rm-goal-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 8px;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: transparent;
    transition: all 0.2s;
    background: white;
}

.rm-goal-card input[type="checkbox"]:checked~.rm-goal-check {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

.rm-goal-card input[type="checkbox"]:checked~.rm-goal-text b {
    color: var(--brand-primary);
}

.rm-goal-card:has(input:checked) {
    border-color: var(--brand-primary);
    background: rgba(108, 92, 231, 0.03);
}

.rm-goal-text {
    display: flex;
    flex-direction: column;
}

.rm-goal-text b {
    font-size: 13px;
    color: #222;
    transition: color 0.2s;
}

.rm-goal-text small {
    font-size: 10px;
    color: #aaa;
    font-weight: 500;
    margin-top: 1px;
}

.rm-submit-btn {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand-primary), #8B5CF6);
    color: white;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.rm-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(108, 92, 231, 0.4);
}

.rm-submit-btn:active {
    transform: translateY(0);
}

.rm-submit-icon {
    font-size: 22px;
}

/* ===== DETAIL MODAL REDESIGN ===== */

/* ===== DETAIL MODAL REDESIGN - DARK PREMIUM GLASS ===== */
.dm-container {
    padding: 0;
    width: 1000px;
    max-width: 95vw;
    height: 90vh;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
}

.dm-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dm-header-left {
    flex: 1;
}

.dm-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 4px;
}

.dm-title {
    margin: 0;
    color: white;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
}

.dm-title-input {
    font-size: 26px;
    font-weight: 800;
    color: white;
    border: 2px solid var(--brand-primary);
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    font-family: inherit;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.dm-edit-icon {
    font-size: 16px;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.dm-title:hover .dm-edit-icon {
    opacity: 0.8;
}

.dm-subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

.dm-header {
    background: var(--brand-gradient);
    color: white;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dm-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.dm-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-action {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.header-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15) !important;
    filter: brightness(1.05);
}

.header-action:active {
    transform: translateY(0);
}

.dm-body {
    background: transparent;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.dm-section {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.dm-section:hover {
    box-shadow: 0 15px 45px rgba(74, 112, 139, 0.08);
    border-color: #d1e2ff;
}

.dm-section-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.dm-section-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.dm-section-header h3 {
    margin: 0;
    color: var(--brand-primary);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.dm-section-header span {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

.dm-section-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.dm-field-group {
    margin-bottom: 20px;
}

.dm-field-group:last-child {
    margin-bottom: 0;
}

.dm-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.dm-label-icon {
    font-size: 14px;
}

.dm-textarea {
    width: 100%;
    height: 140px;
    padding: 16px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    resize: vertical;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
    box-sizing: border-box;
}

.dm-textarea:focus {
    border-color: var(--brand-primary);
    background: rgba(108, 92, 231, 0.06);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.dm-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.dm-textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dm-notes-section {
    background: rgba(255, 230, 102, 0.04);
    border-color: rgba(255, 230, 102, 0.1);
}

.dm-notes-textarea {
    height: 80px;
    background: rgba(255, 230, 102, 0.06);
    border-color: rgba(255, 230, 102, 0.12);
    color: #ffe066;
}

.dm-notes-textarea:focus {
    border-color: #ffe066;
    box-shadow: 0 0 0 4px rgba(255, 224, 102, 0.1);
    background: rgba(255, 230, 102, 0.08);
}

.dm-notes-textarea::placeholder {
    color: rgba(255, 224, 102, 0.3);
}

.dm-meta-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dm-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dm-meta-item label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dm-meta-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s;
}

.dm-meta-input:focus {
    border-color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.2);
}

/* Transition for dynamic custom field */
.dm-custom-field-wrap {
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.dm-custom-field-wrap.visible {
    max-height: 100px;
    opacity: 1;
    margin-top: 10px;
}

.dm-meta-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

select.dm-meta-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

select.dm-meta-input option {
    background: #1a1a2e;
    color: white;
}

.dm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.dm-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    font-family: inherit;
}

.dm-btn span:first-child {
    font-size: 16px;
}

.dm-btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), #8B5CF6);
    color: white;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.3);
}

.dm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(108, 92, 231, 0.4);
}

.dm-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
}

.dm-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.dm-btn-danger {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #ff6b6b;
}

.dm-btn-danger:hover {
    background: rgba(231, 76, 60, 0.2);
}

.dm-btn-outline {
    background: transparent;
    border: 1px solid rgba(108, 92, 231, 0.3);
    color: var(--brand-primary);
    margin-top: 12px;
}

.dm-btn-outline:hover {
    background: rgba(108, 92, 231, 0.08);
    border-color: var(--brand-primary);
}

/* --- SHOOT / PRODUCTION CARD STYLES (Fixing "Numpuk" Issue) --- */
.shoot-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.shoot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.shoot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shoot-content {
    flex: 1;
}

.shoot-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #555;
}

.shoot-badge {
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 8px;
    border-radius: 8px;
}

.shoot-title {
    font-size: 16px;
    font-weight: 900;
    color: #2d3436;
    margin: 0;
    line-height: 1.4;
}

.shoot-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.btn-shoot {
    border: none;
    border-radius: 12px;
    padding: 10px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    text-transform: uppercase;
}

.btn-shoot:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
}

.btn-upload {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    grid-column: span 2;
}

.btn-info {
    background: rgba(0, 0, 0, 0.05);
    color: #555;
}

.btn-link {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.btn-done {
    background: #2ecc71;
    color: white;
    grid-column: span 2;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}



/* --- DEFINITIVE MOBILE MASTER RESPONSIVENESS (V2) --- */
@media (max-width: 768px) {

    /* 1. ROOT LOCKING: No bleed, No offset */
    html,
    body,
    #app {
        width: 100% !important;
        max-width: 100vw !important;
        min-height: 100vh !important;
        height: auto !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }

    /* 2. LAYOUT SYMMETRY */
    .main-layout {
        padding-top: 0 !important;
        flex-direction: column !important;
        height: auto !important;
        overflow: visible !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .content-area {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        height: auto !important;
        overflow-y: visible !important;
        margin: 0 !important;
    }

    .view-container {
        padding: 15px !important;
        /* Symmetrical balance */
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    /* 3. TOP NAVIGATION COMPACT */
    .top-nav {
        position: relative !important;
        height: auto !important;
        padding: 10px 15px !important;
        flex-direction: column !important;
        gap: 10px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }

    .header-logo-container {
        width: 100% !important;
        justify-content: center !important;
    }

    .nav-tabs {
        width: 100% !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding-bottom: 8px !important;
        gap: 12px !important;
        scrollbar-width: none;
    }

    .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .nav-tab {
        padding: 8px 12px !important;
        font-size: 13px !important;
        background: transparent !important;
    }

    .nav-tab.active {
        background: rgba(108, 92, 231, 0.05) !important;
        border-bottom: 2px solid var(--brand-primary) !important;
    }

    .nav-tab.active::after {
        display: none !important;
    }

    /* 4. SIDEBAR ROW */
    .sidebar {
        width: 100% !important;
        padding: 10px 15px !important;
        border-radius: 0 0 25px 25px !important;
        position: relative !important;
        top: 0 !important;
        height: auto !important;
        margin: 0 !important;
        background: var(--brand-primary) !important;
        color: white !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
    }

    #sidebar-menu {
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        display: flex !important;
        gap: 10px !important;
        padding: 5px 0 !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 10px !important;
        flex: initial !important;
    }

    .menu-item {
        /* REMOVED: white-space: nowrap !important; - Was hiding text in expanded sidebar */
        padding: 8px 15px !important;
        flex-shrink: 0 !important;
        font-size: 13px !important;
        overflow: visible !important;
        /* Allow text to show */
    }

    /* Show footer buttons on mobile but inline/scrollable if needed, or stacked below */
    .sidebar-footer {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        overflow-x: auto !important;
        padding-bottom: 5px !important;
    }

    .sidebar-footer button {
        flex: 1 !important;
        white-space: nowrap !important;
        padding: 8px 12px !important;
        font-size: 11px !important;
        min-width: 80px !important;
    }

    .active-pill-background {
        display: none !important;
    }

    /* 5. REQUEST MARKETING DEFINITIVE GRID STACKING */
    .rm-header {
        margin-bottom: 15px !important;
        text-align: center !important;
        width: 100% !important;
    }

    .rm-title {
        font-size: 24px !important;
        letter-spacing: -1px !important;
    }

    .rm-subtitle {
        font-size: 13px !important;
    }

    .rm-layout {
        display: flex !important;
        flex-direction: column !important;
        /* Force stack */
        gap: 20px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .rm-guide-panel,
    .rm-form-section {
        width: 100% !important;
        padding: 15px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        position: relative !important;
        top: 0 !important;
    }

    .rm-tier-grid,
    .rm-goal-grid {
        grid-template-columns: 1fr !important;
        /* No more horizontal bleed */
        gap: 10px !important;
    }

    .rm-guide-quote {
        padding: 12px !important;
        font-size: 11px !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }

    /* 6. UNIVERSAL GRID FIX */
    .home-grid,
    .grid-2-col,
    .grid-3-col,
    .grid-responsive,
    .flex-responsive {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .hero-greeting {
        font-size: 28px !important;
        letter-spacing: -1px !important;
    }

    /* 7. MODALS & DASHBOARD CRITICAL FIX */
    .content-area {
        padding: 15px !important;
        /* Fix for "mepet" dashboard */
    }

    .dm-container {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        padding: 0 !important;
        /* Full width header */
        border-radius: 0 !important;
    }

    .dm-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        padding: 25px 20px !important;
    }

    .dm-header-right {
        width: 100% !important;
        align-items: flex-start !important;
    }

    .dm-header-actions {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .dm-body {
        grid-template-columns: 1fr !important;
        padding: 25px 20px !important;
        gap: 20px !important;
    }

    .dm-meta-pair {
        grid-template-columns: 1fr !important;
    }

    /* 8. GUIDELINE MODULE */
    .guideline-page-container {
        padding: 15px !important;
    }

    .guideline-hero-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .guideline-hero-title {
        font-size: 26px !important;
    }

    .guideline-brand-toggle {
        width: 100% !important;
        flex-direction: column !important;
    }

    .btn-toggle {
        min-width: 100% !important;
        height: 45px !important;
    }

    .comparison-grid,
    .persona-grid {
        grid-template-columns: 1fr !important;
    }

    /* STICKER MOBILE REFINEMENT */
    .brand-sticker {
        width: 50px !important;
        height: 50px !important;
        opacity: 0.1 !important;
    }
}

@media (max-width: 480px) {
    .hero-greeting {
        font-size: 24px !important;
    }
}

.dev-watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-size: 11px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    padding: 6px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #666;
    pointer-events: auto;
}

.dev-watermark a {
    color: var(--primary-blue);
    text-decoration: none;
    margin-left: 4px;
}

.dev-watermark a:hover {
    text-decoration: underline;
}