@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Orbitron:wght@400..900&family=Rajdhani:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&family=UnifrakturMaguntia&display=swap');

:root {
    --base-color: #002868;
    --text-color: #FFFFFF;
    --primary-color: #ffd700;
    --secondary-color: #BF0A30;
    --tertiary-color: #1A1A1A;
    --color-1: #1E90FF;
    --color-2: #6a0dad;
    --color-3: #F5F5F5;
    --discord-color: #5865F2;
    --fivem-color: #FF8C00;
    --insta-color: #E1306C;
    --tt-color: #25F4EE;
    --fb-color: #1877F2;
    --yt-color: #FF0000;
    --content-max-width: 95%; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

body {
    padding: 0;
    background-color: var(--base-color);
}

/* --- Navigation & Header --- */
nav {
    margin: 1em auto 3em auto; 
    width: min(var(--content-max-width), 100%); 
    padding: 0 1em; 
}

nav ul {
    display: flex;
    align-items: Center;
    list-style-type: none;
    gap: 2em;
}

nav li:first-child {
    margin-right: auto;
}

nav a {
    text-decoration: none;
    font-family: rajdhani, sans-serif;
    color: var(--text-color);
    transition: 100ms ease;
}

nav a:hover {
    color: var(--primary-color);
}

header{
    background-color: var(--tertiary-color);
    position: sticky;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: #1A1A1A solid 0.10em;
    z-index: 1000; 
}

/* Main content wrapper */
.content-wrapper {
    max-width: min(var(--content-max-width), 1100px);
    margin: 2em auto;
    padding: 0 1em;
}

/* Hero-like title area */
.hero-section {
    text-align: center;
    padding: 3em 1em 2em;
}

.hero-section h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5em;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.4rem;
    color: #d0d0d0;
}

/* Warning box */
.warning-box {
    background: rgba(191, 10, 48, 0.18);
    border: 2px solid var(--secondary-color);
    border-radius: 0.8em;
    padding: 1.4em 2em;
    margin: 1.5em auto;
    max-width: 900px;
    text-align: center;
    font-weight: 500;
    color: #ffcccc;
}

/* Form sections – card style */
.form-section {
    background: rgba(26, 26, 26, 0.75);
    border: 1px solid var(--secondary-color);
    border-radius: 1em;
    padding: 2.2em 2.5em;
    margin-bottom: 2.5em;
    box-shadow: 0 8px 25px rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
}

.form-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 1.4em;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.6em;
}

/* Form layout */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8em;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1.05rem;
    margin-bottom: 0.5em;
    color: #e0e0e0;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.9em 1.2em;
    background: #222;
    border: 2px solid #444;
    border-radius: 0.6em;
    color: white;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.2);
}

.form-group textarea { min-height: 110px; resize: vertical; }

.full-width { grid-column: 1 / -1; }

.help-text {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 0.3em;
    margin-bottom: 0.6em;
    display: block;
}

.required { color: var(--secondary-color); }

/* Submit button – matches home page tertiary style */
.cta-button.large {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 2em auto 1em;
    padding: 1.1em 2em;
    font-size: 1.4rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-align: center;
    border-radius: 0.6em;
    background: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}

.cta-button.large:hover {
    background: #d01038;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(191,10,48,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.8rem; }
    .form-section { padding: 1.8em 1.5em; }
    nav ul { gap: 1.2em; font-size: 0.95rem; }
}

/* ============================================= */
/* Toast Notifications - same as civilian portal */
/* ============================================= */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.toast {
    padding: 14px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: #28a745;
}

.toast.error {
    background: #dc3545;
}

.toast.info {
    background: #17a2b8;
}

.toast i {
    font-size: 1.4em;
}