/* assets/css/style.css */
/* Modern Web-Native Design System (ShootPlanner Pro) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap');

:root {
    /* Color Palette - Deep Charcoal & Neon */
    --bg-app: #050507;
    --bg-primary: #0d0d10;
    --bg-secondary: #14141a;
    --bg-tertiary: #1c1c24;

    --accent-primary: #8a2be2;
    --accent-primary-glow: rgba(138, 43, 226, 0.4);
    --accent-success: #10b981;
    --accent-danger: #ef4444;
    --accent-warning: #f59e0b;

    --text-primary: #f8f9fa;
    --text-secondary: #a0a0ab;
    --text-muted: #63636e;

    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-strong: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(138, 43, 226, 0.3);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --font-main: 'Inter', sans-serif;
    --font-head: 'Outfit', sans-serif;

    /* Web Dimensions */
    --nav-width: 110px;
    --sidebar-width: 280px;
    --header-height: 80px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);

    --glass: rgba(255, 255, 255, 0.02);
    --glass-heavy: rgba(255, 255, 255, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background: var(--bg-app);
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
}

.app-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* --- Column 1: Primary Navigation (With Labels) --- */
.primary-nav {
    width: var(--nav-width);
    background: var(--bg-app);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    z-index: 100;
}

.nav-brand {
    margin-bottom: 30px;
    color: var(--accent-primary);
    font-size: 28px;
    filter: drop-shadow(0 0 10px var(--accent-primary-glow));
}

.nav-tabs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-tab {
    width: 90px;
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
    gap: 6px;
}

.nav-tab i {
    font-size: 22px;
}

.nav-tab .nav-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.nav-tab:hover {
    color: var(--text-primary);
    background: var(--glass);
}

.nav-tab.active {
    color: white;
    background: var(--accent-primary);
    box-shadow: 0 8px 16px var(--accent-primary-glow);
}

.nav-divider {
    height: 1px;
    width: 24px;
    background: var(--border-subtle);
    margin: 8px 0;
}

.nav-footer {
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.nav-footer:hover {
    color: var(--text-primary);
}

/* --- Column 2: Secondary Content Sidebar --- */
.context-sidebar {
    width: var(--sidebar-width);
    background: var(--bg-primary);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-header {
    padding: 32px 24px;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 24px 12px;
}

/* Sidebar Nav Items (Vertical List) */
.nav-list {
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 2px;
}

.nav-item:hover {
    color: white;
    background: var(--glass);
}

.nav-item.active {
    background: var(--glass-heavy);
    color: white;
    border: 1px solid var(--border-accent);
}

.nav-item i {
    font-size: 16px;
    opacity: 0.7;
}

/* --- Column 3: Main Workspace --- */
.main-workspace {
    flex: 1;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.workspace-header {
    height: var(--header-height);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.workspace-content {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
}

/* --- UI Components --- */
h1,
h2,
h3 {
    font-family: var(--font-head);
}

.btn {
    padding: 8px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(138, 43, 226, 0.3);
    filter: brightness(1.1);
}

.btn-ghost {
    background: var(--glass);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
    background: var(--glass-heavy);
    color: white;
}

/* Data Table (Web Professional) */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table th {
    background: var(--bg-tertiary);
    padding: 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-strong);
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 13.5px;
    transition: 0.15s;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.015);
    color: white;
}

/* Modals & Forms */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal.open {
    display: flex;
}

.modal-box {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    width: 480px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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

.modal-head {
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 32px 24px;
}

.modal-foot {
    padding: 20px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-strong);
    color: white;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
}

/* Chips & Badges */
.chip {
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    background: var(--glass);
    border: 1px solid var(--border-strong);
    color: var(--text-secondary);
}

.chip-active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

/* Instagram Feed Simulator */
.phone-mockup {
    width: 360px;
    height: 720px;
    background: #000;
    border-radius: 40px;
    border: 12px solid #1a1a1a;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.ig-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
}

.ig-post {
    aspect-ratio: 1/1;
    background: var(--bg-tertiary);
}