/* scout/css/scout.css - Scout Portal Dedicated Styles */
:root {
    --red: #ff1a1a;
    --dark: #050505;
    --panel: #080808;
    --border: rgba(255, 26, 26, 0.15);
    --text: #e0e0e0;
    --muted: #555;
    --font: 'Rajdhani', sans-serif;
    --heading: 'Orbitron', sans-serif;
    --sidebar-w: 270px;
    --accent: #00ccff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--dark);
    color: var(--text);
    font-family: var(--font);
    min-height: 100vh;
    display: flex;
    font-size: 1rem;
}

/* ─── SIDEBAR ─────────────────────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: #060606;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}

.sidebar-logo {
    padding: 1.8rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 26, 26, 0.3));
}

.sidebar-logo .brand {
    font-family: var(--heading);
    font-size: .85rem;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.3;
}

.sidebar-logo .brand span {
    color: var(--accent);
    display: block;
    font-size: .7rem;
    letter-spacing: 3px;
}

.sidebar-badge {
    margin: 0 1.2rem 1rem;
    background: rgba(0, 204, 255, 0.08);
    border: 1px solid rgba(0, 204, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: .7rem;
    color: var(--accent);
    letter-spacing: 1px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.nav-menu {
    padding: 1rem 0;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 1.5rem;
    cursor: pointer;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .5px;
    transition: .2s;
    border-left: 3px solid transparent;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-item i {
    font-size: .85rem;
    width: 18px;
    text-align: center;
}

.nav-item:hover {
    color: #ccc;
    background: rgba(255, 255, 255, 0.02);
}

.nav-item.active {
    color: #fff;
    background: rgba(0, 204, 255, 0.05);
    border-left-color: var(--accent);
}

.nav-item.active i {
    color: var(--accent);
}

.nav-sep {
    font-size: .6rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem 1.5rem .5rem;
    font-weight: 800;
}

.sidebar-footer {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 700;
    transition: .2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-footer a:hover {
    color: var(--red);
}

/* ─── MAIN CONTENT ────────────────────────────────────────────────────────── */
.main {
    margin-left: var(--sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.topbar {
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-title {
    font-family: var(--heading);
    font-size: .9rem;
    letter-spacing: 2px;
    color: #888;
    text-transform: uppercase;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.status-chip {
    background: rgba(0, 204, 255, 0.08);
    border: 1px solid rgba(0, 204, 255, 0.2);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.content {
    padding: 2rem;
    flex: 1;
}

/* ─── SECTIONS ────────────────────────────────────────────────────────────── */
.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeUp .3s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header h1 {
    font-family: var(--heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: .4rem;
}

.section-header p {
    color: var(--muted);
    font-size: .9rem;
}

/* ─── CARDS ──────────────────────────────────────────────────────────────── */
.card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-accent {
    border-left: 3px solid var(--accent);
}

.card-red {
    border-left: 3px solid var(--red);
}

.card h3 {
    font-family: var(--heading);
    font-size: .85rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3 i {
    opacity: .7;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ─── STAT CARDS ─────────────────────────────────────────────────────────── */
.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}

.stat-val {
    font-family: var(--heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    display: block;
}

.stat-lbl {
    font-size: .75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* ─── FORM ───────────────────────────────────────────────────────────────── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: .7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.form-group label .req {
    color: var(--red);
    margin-left: 2px;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 15px;
    border-radius: 10px;
    font-family: var(--font);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300ccff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

.form-group select option {
    background: #0a0a0a;
    color: #fff;
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 204, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* ─── CHECKBOX GRID ──────────────────────────────────────────────────────── */
.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: .2s;
    font-size: .9rem;
    font-weight: 600;
}

.check-item:hover {
    border-color: var(--accent);
    background: rgba(0, 204, 255, 0.04);
}

.check-item input[type=checkbox] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.check-item.selected {
    border-color: var(--accent);
    background: rgba(0, 204, 255, 0.08);
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 10px;
    font-family: var(--heading);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: .2s;
    font-size: .8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 150, 200, 0.8), var(--accent));
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 204, 255, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #800020, var(--red));
    color: #fff;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 26, 26, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-row {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none !important;
}

/* ─── STEPS PROGRESS ─────────────────────────────────────────────────────── */
.steps {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-dot {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #111;
    border: 2px solid #222;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .8rem;
    color: #444;
    transition: .25s;
    position: relative;
    z-index: 1;
}

.step.active .step-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    box-shadow: 0 0 18px rgba(0, 204, 255, 0.4);
}

.step.done .step-dot {
    background: #00cc66;
    border-color: #00cc66;
    color: #000;
}

.step-label {
    display: block;
    font-size: .6rem;
    color: #444;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.step.active .step-label {
    color: var(--accent);
}

.step.done .step-label {
    color: #00cc66;
}

/* ─── FORM STEPS ─────────────────────────────────────────────────────────── */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeUp .3s ease;
}

/* ─── STATUS TRACKER ─────────────────────────────────────────────────────── */
.status-input-card {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.status-result {
    margin-top: 2rem;
    display: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--heading);
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

/* ─── HERO SECTION ───────────────────────────────────────────────────────── */
.scout-hero {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.05), rgba(255, 26, 26, 0.03));
    border: 1px solid rgba(0, 204, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.scout-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.scout-hero h2 {
    font-family: var(--heading);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: .8rem;
    background: linear-gradient(135deg, #fff 50%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scout-hero p {
    color: #666;
    line-height: 1.8;
    max-width: 650px;
}

.hero-badges {
    display: flex;
    gap: 10px;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(0, 204, 255, 0.06);
    border: 1px solid rgba(0, 204, 255, 0.15);
    color: #aaa;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.hero-badge i {
    color: var(--accent);
    margin-right: 5px;
}

/* ─── REQUIREMENT CARDS ──────────────────────────────────────────────────── */
.req-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
}

.req-card i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: .8rem;
    display: block;
}

.req-card h4 {
    font-family: var(--heading);
    font-size: .8rem;
    margin-bottom: .5rem;
}

.req-card p {
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ─── TOAST ──────────────────────────────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 15, 15, 0.95);
    border-left: 4px solid var(--accent);
    padding: 14px 22px;
    border-radius: 10px;
    color: #fff;
    font-size: .9rem;
    opacity: 0;
    transform: translateX(120%);
    transition: .3s;
    z-index: 9999;
    max-width: 360px;
    font-weight: 700;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.ok {
    border-color: #00cc66;
}

.toast.err {
    border-color: var(--red);
}

/* ─── CONSENT ────────────────────────────────────────────────────────────── */
.consent-box {
    background: rgba(0, 204, 255, 0.03);
    border: 1px solid rgba(0, 204, 255, 0.12);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    cursor: pointer;
}

.consent-box input[type=checkbox] {
    accent-color: var(--accent);
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.consent-box p {
    font-size: .85rem;
    color: #777;
    line-height: 1.6;
}

.consent-box p b {
    color: #ccc;
}

/* ─── SUCCESS ────────────────────────────────────────────────────────────── */
.success-screen {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(0, 204, 255, 0.08);
    border: 2px solid var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    box-shadow: 0 0 40px rgba(0, 204, 255, 0.2);
}

.success-screen h2 {
    font-family: var(--heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-screen p {
    color: #666;
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* ─── CUSTOM SCROLLBAR ───────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #050505;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0,204,255,0.6), rgba(0,204,255,0.2));
    border-radius: 10px;
    border: 1px solid rgba(0,204,255,0.1);
    box-shadow: 0 0 8px rgba(0,204,255,0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(0,204,255,0.9), rgba(0,204,255,0.4));
    box-shadow: 0 0 14px rgba(0,204,255,0.5);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,204,255,0.5) #050505;
}

/* ─── SCOUT FOOTER ───────────────────────────────────────────────────────── */
.nexus-footer-minimal {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 204, 255, 0.08);
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.nexus-footer-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,204,255,0.3), transparent);
}

.footer-minimal-container {
    max-width: 100%;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-minimal-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-mini-logo {
    height: 30px;
    opacity: 0.7;
    filter: drop-shadow(0 0 6px rgba(0,204,255,0.2));
}

.footer-tagline {
    font-family: var(--heading);
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: #2a2a2a;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-minimal-center {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-mini-link {
    font-family: var(--heading);
    font-size: 0.65rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.footer-mini-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: center;
}

.footer-mini-link:hover {
    color: var(--accent);
    text-shadow: 0 0 12px rgba(0, 204, 255, 0.4);
}

.footer-mini-link:hover::after {
    transform: scaleX(1);
}

.footer-copyright {
    font-family: var(--heading);
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: #222;
    text-transform: uppercase;
}