:root {
    /* Brand Colors per Figma Analysis */

    /* Primary (Blues) */
    --color-primary-lighter: #def2ff;
    --color-primary-light: #b6e8ff;
    --color-primary: #02adf5;
    /* Base */
    --color-primary-dark: #008ad2;
    --color-primary-darker: #006eaa;

    /* Secondary (Oranges) */
    --color-secondary-lighter: #fff3c5;
    --color-secondary-light: #ffe687;
    --color-secondary: #fc9d04;
    /* Warning/Baseish */
    --color-secondary-dark: #ef7d00;
    /* Used often as active brand orange */
    --color-secondary-darker: #b95004;

    /* Success (Greens) */
    --color-success-lighter: #c7fff6;
    --color-success: #009a93;
    --color-success-dark: #05807b;

    /* Neutrals */
    --color-white: #ffffff;
    --color-neutral-100: #efeff0;
    --color-neutral-200: #dfdfe0;
    --color-neutral-300: #7c7c83;
    --color-neutral-400: #68686e;
    --color-neutral-500: #4b4b53;
    --color-neutral-800: #0d0d0e;
    --color-black: #040404;

    /* Typography */
    --font-family-heading: 'Poppins', sans-serif;
    --font-family-body: 'Poppins', sans-serif;
}

/* Global Body */
body {
    font-family: var(--font-family-body);
    color: var(--color-neutral-500);
    background-color: var(--color-neutral-100);
    /* Light gray background */
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading);
    color: var(--color-neutral-800);
}

/* --- New Layout Components --- */

/* 1. Header Banner */
.header-banner {
    position: relative;
    width: 100%;
    height: 480px;
    /* Taller to allow deep overlap */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background: url('../img/bg-img.png') center top/cover no-repeat;
}

/* Dark overlay for text readability */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

/* 2. Logo Container (Header) */
.logo-container {
    /* Removed white background to match header text style if needed, 
       but if design has a logo badge, keep it. 
       Let's assume the text "O GRANDE ASSADOR" is the main logo. */
    margin-bottom: 1rem;
    position: relative;
    z-index: 20;
}

/* 3. Main Content Card */
.main-card {
    border-radius: 30px 30px 0 0;
    /* Highly rounded top as per screenshot */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 20;
    margin-top: -280px;
    /* Deep overlap into the banner */
    padding-top: 3rem !important;
}

/* Typography inside Card */
.form-title {
    color: #c25e00;
    /* Deep Brand Orange */
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1.1;
    text-transform: none;
    /* Screenshot shows Title Case "O Grande Assador" */
}

/* 4. Footer Icons */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #009FE3;
    /* Bright Blue */
    color: white !important;
    border-radius: 50%;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.social-icon i {
    font-size: 1.3rem;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: #008ad2;
    color: white !important;
}

/* --- Overrides & Components --- */

/* Text Colors */
.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary-dark) !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    border: none;
    box-shadow: 0 4px 10px rgba(2, 173, 245, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary-darker) 100%);
    box-shadow: 0 6px 15px rgba(2, 173, 245, 0.4);
    transform: translateY(-2px);
}

/* Form Controls */
.form-control:focus {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 0.25rem rgba(2, 173, 245, 0.15);
}

.form-label {
    font-weight: 500;
    color: var(--color-neutral-800);
}

.input-group-text {
    background-color: var(--color-neutral-100);
    border-color: var(--color-neutral-200);
    color: var(--color-neutral-500);
}

/* Participant Section Styling */


/* Helpers */
.float-none {
    float: none !important;
}

/* Loading Overlay */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

#loadingOverlay.d-none {
    display: none !important;
}