/**
 * Converted from React: index.css (TailwindCSS)
 * Premium Fire Department Theme - Complete CSS
 */

/* =====================================================
   CSS Custom Properties (Design Tokens)
   ===================================================== */

:root {
    /* Premium Fire Department Theme */
    --background: hsl(0 0% 100%);
    --foreground: hsl(220 25% 10%);

    --card: hsl(0 0% 100%);
    --card-foreground: hsl(220 25% 10%);

    --popover: hsl(0 0% 100%);
    --popover-foreground: hsl(220 25% 10%);

    /* Deep Fire Red - Primary */
    --primary: hsl(4 85% 48%);
    --primary-foreground: hsl(0 0% 100%);
    --primary-hover: hsl(4 85% 42%);

    /* Charcoal - Secondary */
    --secondary: hsl(220 20% 18%);
    --secondary-foreground: hsl(0 0% 100%);

    /* Warm Muted */
    --muted: hsl(30 15% 95%);
    --muted-foreground: hsl(220 15% 40%);
    --muted-light: hsl(30 15% 97%);

    /* Warm Accent */
    --accent: hsl(25 100% 95%);
    --accent-foreground: hsl(4 85% 40%);

    --destructive: hsl(0 84% 60%);
    --destructive-foreground: hsl(0 0% 100%);

    --success: hsl(145 70% 38%);
    --success-foreground: hsl(0 0% 100%);

    --border: hsl(30 20% 88%);
    --input: hsl(30 20% 88%);
    --ring: hsl(4 85% 48%);

    --radius: 0.875rem;

    /* Premium Custom Tokens */
    --fire-gradient: linear-gradient(135deg, hsl(4 85% 55%) 0%, hsl(25 95% 55%) 50%, hsl(40 100% 50%) 100%);
    --fire-gradient-subtle: linear-gradient(135deg, hsl(4 85% 48%) 0%, hsl(15 90% 52%) 100%);
    --hero-overlay: linear-gradient(180deg, hsla(220, 25%, 8%, 0.75) 0%, hsla(220, 25%, 5%, 0.92) 100%);
    --glass-bg: hsla(0, 0%, 100%, 0.85);
    --glass-bg-dark: hsla(220, 25%, 8%, 0.8);
    --glass-border: hsla(0, 0%, 100%, 0.3);
    --glass-border-dark: hsla(0, 0%, 100%, 0.1);
    --card-shadow: 0 4px 30px -8px hsla(4, 60%, 30%, 0.12);
    --card-shadow-lg: 0 20px 50px -15px hsla(4, 60%, 30%, 0.18);
    --card-shadow-xl: 0 30px 80px -20px hsla(4, 60%, 30%, 0.25);
    --text-shadow: 0 2px 10px hsla(220, 25%, 5%, 0.3);
    --glow-primary: 0 0 40px hsla(4, 85%, 55%, 0.4);
    --step-inactive: hsl(220 10% 78%);
    --step-complete: hsl(145 70% 38%);
    --gold: hsl(40 100% 50%);
}

/* =====================================================
   Base Styles
   ===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    letter-spacing: -0.015em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   Utility Classes
   ===================================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.min-h-screen {
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* =====================================================
   Icons
   ===================================================== */

.icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.icon.label-icon {
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn .icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Primary Button */
.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 4px 14px -3px hsla(4, 85%, 48%, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px hsla(4, 85%, 48%, 0.5);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Hero Button */
.btn-hero {
    background: var(--fire-gradient-subtle);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    padding: 1rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px -10px hsla(4, 85%, 48%, 0.5), var(--glow-primary);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-hero:hover::before {
    transform: translateX(100%);
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -10px hsla(4, 85%, 48%, 0.6), var(--glow-primary);
}

.btn-hero:active {
    transform: scale(0.98);
}

/* Outline Button */
.btn-outline {
    background-color: var(--background);
    color: var(--foreground);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--accent);
    border-color: hsla(4, 85%, 48%, 0.4);
    transform: translateY(-2px);
}

/* Button Sizes */
.btn-lg {
    height: 3.25rem;
    padding: 0 2rem;
    font-size: 1rem;
    border-radius: 0.75rem;
}

.btn-full {
    width: 100%;
}

/* =====================================================
   Form Elements
   ===================================================== */

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

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.form-label-sm {
    font-size: 0.875rem;
}

.form-label-lg {
    font-size: 1rem;
    font-weight: 600;
}

.required {
    color: var(--primary);
}

.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--foreground);
    background-color: var(--background);
    border: 1px solid var(--input);
    border-radius: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 3px hsla(4, 85%, 48%, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-foreground);
}

.input-error {
    border-color: var(--destructive);
    background-color: hsla(0, 84%, 60%, 0.02);
}

.input-error:focus {
    border-color: var(--destructive);
    box-shadow: 0 0 0 4px hsla(0, 84%, 60%, 0.15);
}

.form-textarea {
    resize: none;
    min-height: 80px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-checkbox {
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--primary);
    border-radius: 0.25rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.error-message {
    font-size: 11px !important;
    color: #ff0000 !important;
    /* Pure Red */
    font-weight: 400 !important;
    margin-top: 4px !important;
    min-height: 14px !important;
    display: block !important;
}

.error-message:empty {
    display: none;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 0.875rem;
    }

    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .date-select-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 0.5rem;
    }
}

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

.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.card-elevated {
    box-shadow: var(--card-shadow);
}

.card-elevated-lg {
    box-shadow: var(--card-shadow-lg);
}

.card-elevated-xl {
    box-shadow: var(--card-shadow-xl);
}

/* =====================================================
   Alerts
   ===================================================== */

.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.alert-info {
    background-color: var(--accent);
    border: 1px solid hsla(4, 85%, 48%, 0.1);
    color: var(--accent-foreground);
}

.alert-info .alert-icon {
    color: var(--primary);
}

.alert-error {
    background-color: hsla(0, 84%, 60%, 0.1);
    border: 1px solid hsla(0, 84%, 60%, 0.2);
    color: var(--destructive);
}

.alert-error .alert-icon {
    color: var(--destructive);
}

/* =====================================================
   Hero Section
   ===================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: pulseSlow 3s ease-in-out infinite;
}

.particle-1 {
    top: 25%;
    left: 25%;
    width: 16rem;
    height: 16rem;
    background-color: hsla(4, 85%, 48%, 0.2);
}

.particle-2 {
    bottom: 25%;
    right: 25%;
    width: 20rem;
    height: 20rem;
    background-color: hsla(25, 100%, 50%, 0.15);
    filter: blur(120px);
    animation-delay: 1s;
}

.particle-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    background-color: hsla(40, 100%, 50%, 0.1);
    filter: blur(150px);
    animation-delay: 2s;
}

.hero-content {
    position: relative;
    padding: 5rem 1rem;
}

.hero-inner {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--glass-bg-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-dark);
    color: hsla(0, 0%, 100%, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    margin-bottom: 2.5rem;
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    animation: pulse 2s infinite;
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: var(--text-shadow);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.fire-text {
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsla(0, 0%, 100%, 0.75);
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-dark);
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
}

.feature-pill .icon {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.feature-pill span {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsla(0, 0%, 100%, 0.9);
}

.deadline-card {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.25rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 3rem;
}

.deadline-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: var(--fire-gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.deadline-icon .icon {
    width: 1.75rem;
    height: 1.75rem;
    color: white;
}

.deadline-info {
    text-align: left;
}

.deadline-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.deadline-date {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 2rem;
    height: 3rem;
    border-radius: 9999px;
    border: 2px solid hsla(0, 0%, 100%, 0.3);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
}

.scroll-dot {
    width: 0.375rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: hsla(0, 0%, 100%, 0.5);
    animation: pulse 2s infinite;
}

/* =====================================================
   Requirements Section
   ===================================================== */

.requirements-section {
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .requirements-section {
        padding: 8rem 0;
    }
}

.pattern-dots {
    background-image: radial-gradient(hsla(4, 85%, 48%, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.6;
}

.requirements-grid {
    display: grid;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .requirements-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.requirement-card {
    position: relative;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.5s ease;
}

.requirement-card:hover {
    box-shadow: var(--card-shadow-lg);
    transform: translateY(-8px);
}

.requirement-card-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.requirement-card-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: var(--fire-gradient);
    border-radius: inherit;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.requirement-card:hover .requirement-card-border {
    opacity: 1;
}

.requirement-content {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.requirement-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.5s ease;
}

.requirement-icon .icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary);
    transition: color 0.5s ease;
}

.requirement-card:hover .requirement-icon {
    background: var(--fire-gradient-subtle);
}

.requirement-card:hover .requirement-icon .icon {
    color: white;
}

.requirement-text {
    flex: 1;
}

.requirement-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.requirement-header .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--success);
    flex-shrink: 0;
}

.requirement-header h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}

.requirement-text p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* =====================================================
   About Section
   ===================================================== */

.about-section {
    padding: 6rem 0;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.about-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.about-label {
    display: inline-block;
    color: hsla(0, 0%, 100%, 0.7);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .about-title {
        font-size: 3rem;
    }
}

.about-description {
    font-size: 1.25rem;
    color: hsla(0, 0%, 100%, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.stat-card {
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    background-color: hsla(0, 0%, 100%, 0.05);
}

.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-number.gold {
    color: var(--gold);
}

.stat-label {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.7);
}

/* =====================================================
   CTA Section
   ===================================================== */

.cta-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

.cta-container {
    position: relative;
}

.cta-content {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.cta-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 2rem;
    border-radius: 1rem;
    background: var(--fire-gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px hsla(4, 85%, 48%, 0.25);
}

.cta-icon .icon {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    background-color: var(--muted-light);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 5.5rem;
    height: auto;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.footer-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--foreground);
}

.footer-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* =====================================================
   Application Form Header
   ===================================================== */

.app-header {
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--foreground);
}

.back-link .icon {
    width: 1rem;
    height: 1rem;
}

.back-link span {
    font-size: 0.875rem;
    font-weight: 500;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: var(--fire-gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.header-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--foreground);
    display: none;
}

@media (min-width: 640px) {
    .header-title {
        display: block;
    }
}

.header-spacer {
    width: 4rem;
}

/* =====================================================
   Form Wrapper
   ===================================================== */

.form-wrapper {
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .form-wrapper {
        padding: 3rem 1rem;
    }
}

.form-container {
    max-width: 42rem;
    margin: 0 auto;
}

.form-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .form-card {
        padding: 2.5rem;
    }
}



.help-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 1.5rem;
}

.help-text a {
    color: var(--primary);
    font-weight: 500;
}

.help-text a:hover {
    text-decoration: underline;
}

/* =====================================================
   Step Content
   ===================================================== */



.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.step-icon-wrapper {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.25rem;
    border-radius: 1rem;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-wrapper .icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .step-title {
        font-size: 1.875rem;
    }
}

.step-description {
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

.form-fields {
    margin-bottom: 1.5rem;
}

.step-navigation {
    padding-top: 1rem;
}

.step-navigation-dual {
    display: flex;
    gap: 0.75rem;
}

.step-navigation-dual .btn {
    flex: 1;
}

/* =====================================================
   Step Indicator
   ===================================================== */

.step-indicator {
    width: 100%;
    padding: 2rem 0;
    margin-bottom: 0.5rem;
}

.step-indicator-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 32rem;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    flex: 1;
}

.step-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-badge {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step-badge-inactive {
    background-color: var(--step-inactive);
    color: white;
}

.step-badge-active {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--glow-primary);
    transform: scale(1.1);
}

.step-badge-complete {
    background-color: var(--step-complete);
    color: white;
}

.step-badge .step-check {
    width: 1.25rem;
    height: 1.25rem;
}

.step-label {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.step-label-active {
    color: var(--primary);
}

.step-label-full {
    display: none;
}

.step-label-short {
    display: inline;
}

@media (min-width: 640px) {
    .step-label-full {
        display: inline;
    }

    .step-label-short {
        display: none;
    }
}

.step-connector {
    flex: 1;
    height: 0.25rem;
    margin: 0 0.75rem;
    border-radius: 9999px;
    background-color: var(--muted);
    overflow: hidden;
}

.step-connector-fill {
    height: 100%;
    width: 0;
    border-radius: 9999px;
    background-color: var(--success);
    transition: width 0.5s ease;
}

.step-connector-fill.complete {
    width: 100%;
}

/* =====================================================
   Upload Zone
   ===================================================== */

.upload-zone {
    border: 2px dashed hsla(220, 15%, 40%, 0.25);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: hsla(30, 15%, 95%, 0.3);
    margin-bottom: 1.5rem;
}

.upload-zone:hover {
    border-color: hsla(4, 85%, 48%, 0.4);
    background-color: var(--accent);
}

.upload-zone.dragging {
    border-color: var(--primary);
    background-color: var(--accent);
}

.upload-input {
    display: none;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.upload-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-icon-wrapper .icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--muted-foreground);
}

.upload-text-main {
    font-weight: 600;
    color: var(--foreground);
}

.upload-text-sub {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.upload-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.upload-info-icon {
    width: 1rem;
    height: 1rem;
}

/* =====================================================
   Artwork Cards
   ===================================================== */

.artworks-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.artwork-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
}

.artwork-card-content {
    display: flex;
    gap: 1rem;
}

.artwork-thumbnail {
    position: relative;
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .artwork-thumbnail {
        width: 8rem;
        height: 8rem;
    }
}

.artwork-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.artwork-remove-btn {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background-color: var(--destructive);
    color: var(--destructive-foreground);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s;
}

.artwork-remove-btn:hover {
    background-color: hsl(0 84% 50%);
}

.artwork-remove-btn .icon {
    width: 1rem;
    height: 1rem;
}

.artwork-details {
    flex: 1;
}

.artwork-details .form-group {
    margin-bottom: 1rem;
}

.artwork-details .form-group:last-child {
    margin-bottom: 0;
}

/* =====================================================
   Summary Cards
   ===================================================== */

.summary-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.summary-header .icon,
.summary-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.summary-header h3 {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.summary-item .summary-label {
    color: var(--muted-foreground);
}

.summary-item .summary-value {
    font-weight: 500;
}

.summary-artworks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.summary-artwork {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.summary-artwork img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

.summary-artwork-title {
    font-size: 0.875rem;
    font-weight: 500;
}

.summary-artwork-desc {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 12rem;
}

/* =====================================================
   KVKK Section
   ===================================================== */

.kvkk-section {
    margin-bottom: 1.5rem;
}

.kvkk-scroll-area {
    height: 12rem;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background-color: var(--muted-light);
    padding: 1rem;
    margin-bottom: 1rem;
}

.kvkk-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    white-space: pre-wrap;
    font-family: inherit;
    line-height: 1.6;
}

.kvkk-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.kvkk-consent-label {
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
}

/* =====================================================
   Submit Button Loading
   ===================================================== */

.submit-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* =====================================================
   Success Page
   ===================================================== */

.success-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background-color: var(--muted-light);
}

.success-wrapper {
    max-width: 32rem;
    width: 100%;
}

.success-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .success-card {
        padding: 3rem;
    }
}

.success-icon-wrapper {
    position: relative;
    width: 7rem;
    height: 7rem;
    margin: 0 auto 2rem;
}

.success-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: hsla(145, 70%, 38%, 0.2);
    animation: pulseSlow 3s ease-in-out infinite;
}

.success-ring {
    position: absolute;
    inset: 0.5rem;
    border-radius: 50%;
    background-color: hsla(145, 70%, 38%, 0.3);
}

.success-circle {
    position: absolute;
    inset: 1rem;
    border-radius: 50%;
    background-color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-circle .icon {
    width: 3rem;
    height: 3rem;
    color: white;
}

.sparkle {
    position: absolute;
}

.sparkle .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.sparkle-1 {
    top: -0.5rem;
    right: -0.5rem;
    color: var(--gold);
    animation: float 6s ease-in-out infinite;
}

.sparkle-2 {
    bottom: -0.25rem;
    left: -0.75rem;
    color: var(--primary);
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.sparkle-2 .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.success-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .success-title {
        font-size: 2.25rem;
    }
}

.success-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.application-number-box {
    background-color: var(--muted-light);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.application-number-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.application-number-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.application-number {
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .application-number {
        font-size: 1.5rem;
    }
}

.copy-btn {
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-foreground);
    border-radius: 0.375rem;
    transition: background-color 0.2s, color 0.2s;
}

.copy-btn:hover {
    background-color: var(--accent);
    color: var(--foreground);
}

.copy-btn .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.notification-info {
    margin-bottom: 2.5rem;
}

.notification-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.notification-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .notification-methods {
        flex-direction: row;
        justify-content: center;
    }
}

.notification-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.notification-method .icon {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.success-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 2rem;
}

/* =====================================================
   Error Page
   ===================================================== */

.error-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--muted);
}

.error-content {
    text-align: center;
}

.error-code {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.error-link {
    color: var(--primary);
    text-decoration: underline;
}

.error-link:hover {
    color: var(--primary-hover);
}

/* =====================================================
   Toast Container
   ===================================================== */

#toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: var(--card-shadow-lg);
    min-width: 16rem;
    animation: slideUp 0.3s ease;
}

.toast-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.toast-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* =====================================================
   Animations
   ===================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseSlow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

.animate-slide-down {
    animation: slideDown 0.6s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* =====================================================
   Layout Utilities
   ===================================================== */

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.hidden {
    display: none !important;
}

/* =====================================================
   Captcha Component
   ===================================================== */

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.captcha-image-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--muted);
    padding: 0.4rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    height: 54px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.captcha-image-wrapper img {
    height: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background: white;
}

.captcha-input-field {
    height: 54px !important;
    max-width: 140px !important;
    text-align: center !important;
    letter-spacing: 0.2em !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
}

@media (max-width: 480px) {
    .captcha-container {
        gap: 0.75rem;
    }

    .captcha-image-wrapper {
        width: 100%;
        justify-content: space-between;
    }

    .captcha-input-field {
        width: 100% !important;
        max-width: none !important;
    }
}