/* =========================================
   Variables & Design System
   ========================================= */
:root {
    /* Nueva Paleta: Deportiva, Luminosa y Limpia */
    --clr-bg-dark: #ffffff;
    /* Fondo principal blanco */
    --clr-bg-darker: #f3f4f6;
    /* Fondo secundario gris muy claro */
    --clr-primary-neon: #ff6600;
    /* Naranja energético (acción/botones) */
    --clr-primary-neon-hover: #e65c00;
    /* Naranja más oscuro para hover */
    --clr-accent-cyan: #1e3a8a;
    /* Azul marino profundo para contrastes */
    --clr-text-light: #111827;
    /* Texto principal oscuro casi negro */
    --clr-text-muted: #4b5563;
    /* Texto secundario gris medio */
    --clr-glass-bg: rgba(255, 255, 255, 0.9);
    /* Cristal blanco translúcido */
    --clr-glass-border: rgba(0, 0, 0, 0.08);
    /* Borde sutil oscuro */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --container-max: 1200px;
    --section-pad: 5rem 1rem;

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    /* Previene que el header fijo tape el inicio de las secciones */
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-light);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-pad);
}

.bg-darker {
    background-color: var(--clr-bg-darker);
}

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

/* Typography Utilities */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--clr-primary-neon);
    background: linear-gradient(135deg, var(--clr-primary-neon), var(--clr-accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: var(--trans-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary-neon), #fb923c);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    /* Mantenemos blanco para el botón secundario SOBRE el hero oscuro */
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

.btn-primary-sm {
    background: var(--clr-primary-neon);
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary-sm:hover {
    background: var(--clr-primary-neon-hover);
}

.w-100 {
    width: 100%;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0.75rem 0;
    transition: var(--trans-smooth);
    background: var(--clr-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-glass-border);
}

.header.scrolled {
    background: var(--clr-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-glass-border);
    padding: 0.75rem 0;
}

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

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

.logo-img {
    height: 120px;
    /* Tamaño muy grande solicitado por el usuario */
    width: auto;
    /* Al ser un fondo blanco, en el menú superior aplicamos mix-blend-mode: multiply o mejor lo dejamos normal y el logo ya hará contraste negro/blanco */
    /* Lo quitamos para temas claros si la imagen es negra: mix-blend-mode: multiply; */
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-link:not(.btn-primary-sm):hover {
    color: var(--clr-primary-neon);
}

.nav-link:not(.btn-primary-sm)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--clr-primary-neon);
    transition: var(--trans-fast);
}

.nav-link:not(.btn-primary-sm):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--clr-text-light);
    /* En móvil nav blanca, icono oscuro */
    transition: var(--trans-fast);
}

/* =========================================
   Hero Section
   ========================================= */
/* Split-screen hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding-top: 80px;
    /* header offset */
}

/* Left panel: dark navy with diagonal right edge */
.hero-panel-left {
    flex: 0 0 50%;
    background: #111827;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5rem 4.5rem 3.5rem;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, calc(100% - 70px) 0, 100% 100%, 0 100%);
}

/* Simple thin orange diagonal line divider */
.hero-panel-left::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--clr-primary-neon);
    /* This creates a thin 3px diagonal line perfectly aligned with the panel edge */
    clip-path: polygon(calc(100% - 70px) 0,
            calc(100% - 67px) 0,
            100% 100%,
            calc(100% - 3px) 100%);
    z-index: 4;
    pointer-events: none;
}

.hero-panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Right panel: image, slides under the diagonal cut */
.hero-panel-right {
    flex: 1;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-left: -70px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.07);
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 2rem;
    align-self: flex-start;
    /* solo ocupa el ancho del texto */
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-wrap: balance;
    word-break: break-word;
    color: #ffffff;
    line-height: 1.1;
}

.hero-title span {
    color: var(--clr-primary-neon);
    background: linear-gradient(135deg, var(--clr-primary-neon), #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #9ca3af;
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   About Section
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--clr-glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    transition: var(--trans-smooth);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--clr-primary-neon);
    background: rgba(16, 185, 129, 0.05);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--clr-bg-darker), var(--clr-glass-bg));
    border: 1px solid var(--clr-glass-border);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Sombra más suave en tema claro */
    background-image: url('assets/hero_bg.png');
    /* Re-using heroic image for visual */
    background-size: cover;
    background-position: left center;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.overlay-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

/* =========================================
   Location Section
   ========================================= */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--clr-glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.location-details {
    background: #ffffff;
    /* Fijo a blanco puro para destacar sobre el gris claro */
    border: 1px solid var(--clr-glass-border);
    padding: 2rem;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* =========================================
   Contact Section
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 2.5rem;
    /* Standard padding, content to the left */
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--clr-glass-border);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.contact-method:hover {
    border-color: var(--clr-primary-neon);
    background: #f0f9ff;
    /* Ligerísimo tono naranja */
}

.contact-method .icon {
    width: 3rem;
    /* Fixed width container for vertical alignment */
    font-size: 2rem;
    color: var(--clr-primary-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method .icon .lucide,
.contact-method .icon .social-icon {
    width: 2.2rem;
    height: 2.2rem;
    object-fit: contain;
}

.social-icon.instagram {
    transform: scale(1.5);
    /* Significant increase to match Facebook's visual weight */
}

.contact-form-container {
    background: #ffffff;
    padding: 1.8rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--clr-glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--clr-text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #f9fafb;
    /* Fondo input gris muy muy claro */
    border: 1px solid #d1d5db;
    /* Borde de input más marcado */
    border-radius: 8px;
    color: var(--clr-text-light);
    font-family: inherit;
    transition: var(--trans-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-primary-neon);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.contact-method h4,
.contact-method p {
    margin: 0;
    /* Quita el espacio por defecto */
    line-height: 1.2;
    /* Ajusta la altura de línea para un centrado perfecto */
}

.contact-method h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
    /* Un pequeño aire entre título y usuario */
    color: var(--clr-text-light);
}

.contact-method p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--clr-bg-darker);
    border-top: 1px solid var(--clr-glass-border);
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 140px;
    /* Logotipo de pie muy grande */
    margin-bottom: 1rem;
    /* Quitamos el mix-blend mode aquí también para el tema claro */
}

.footer-brand p {
    color: var(--clr-text-muted);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links a,
.footer-social a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-text-muted);
    margin-bottom: 0.75rem;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--clr-primary-neon);
}

.footer-social a .lucide,
.footer-social a .footer-social-icon {
    width: 1.1rem;
    height: 1.1rem;
    object-fit: contain;
}

.footer-social-icon.instagram {
    transform: scale(1.4);
    /* Significant increase for visual balance */
}

.footer-bottom {
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--clr-glass-border);
    padding-top: 2rem;
}

/* =========================================
   Animations Classes
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* =========================================
   Utility Classes & Layout Additions (PAALPA)
   ========================================= */
.mt-2 {
    margin-top: 1.5rem;
}

.mt-3 {
    margin-top: 3rem;
}

.text-muted {
    color: var(--clr-text-muted);
}

.values-list {
    margin-top: 1rem;
}

.values-list li {
    background: #ffffff;
    border: 1px solid var(--clr-glass-border);
    border-left: 4px solid var(--clr-primary-neon);
    padding: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: var(--trans-fast);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.values-list li:hover {
    transform: translateX(5px);
    background: #f0f9ff;
}

.values-list li .lucide {
    color: var(--clr-primary-neon);
    margin-right: 0.75rem;
    stroke-width: 2.5px;
}

.values-list strong {
    color: var(--clr-accent-cyan);
    font-size: 1.05rem;
}

.palmares-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.timeline {
    margin-top: 2rem;
}

.timeline-item {
    background: #ffffff;
    border: 1px solid var(--clr-glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: var(--trans-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.timeline-item:hover {
    border-color: var(--clr-primary-neon);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.timeline-item h4 {
    color: var(--clr-accent-cyan);
    /* Azul fuerte para los títulos */
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.timeline-item h4 .lucide {
    color: var(--clr-primary-neon);
    flex-shrink: 0;
}

.framed-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    /* Sombra clara */
    border: 4px solid #ffffff;
    /* Marco fotográfico blanco */
    object-fit: contain;
    background: white;
}

.sponsorship-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.sponsor-card {
    background: #ffffff;
    border: 1px solid var(--clr-glass-border);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    width: clamp(280px, 30%, 100%);
    transition: var(--trans-smooth);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sponsor-card:hover {
    background: linear-gradient(135deg, #ffffff, #fff7ed);
    border-color: var(--clr-primary-neon);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.1);
}

.sponsor-card .lucide {
    color: var(--clr-primary-neon);
    margin-right: 1rem;
    stroke-width: 2px;
}

.sponsor-card {
    display: flex;
    align-items: center;
}

/* General Icon Styling */
.lucide {
    width: 1.25em;
    height: 1.25em;
    vertical-align: middle;
    display: inline-block;
}

/* =========================================
   Media Queries
   ========================================= */
@media (max-width: 900px) {

    .about-grid,
    .contact-grid,
    .palmares-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }
}

/* Tablet & Mobile Hero Adjustment */
@media (max-width: 1024px) {

    /* Split-screen hero stacks vertically on tablets too */
    .hero {
        flex-direction: column;
        height: auto;
        min-height: 0;
    }

    .hero-panel-left {
        flex: none;
        padding: 5rem 1.5rem 3rem;
        width: 100%;
        clip-path: none;
    }

    .hero-panel-left::before,
    .hero-panel-left::after {
        display: none;
    }

    .hero-panel-right {
        min-height: 400px;
        width: 100%;
        margin-left: 0;
        order: -1;
        /* Foto arriba */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        background-attachment: scroll;
    }

    .header {
        padding: 0.5rem 0;
    }

    .header-content {
        flex-wrap: nowrap;
    }

    .logo {
        gap: 0.5rem;
        min-width: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: 0.5rem;
    }

    .logo-img {
        height: 80px;
        flex-shrink: 0;
    }

    .logo-text {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--clr-bg-darker);
        padding: 2rem;
        border-bottom: 1px solid var(--clr-glass-border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3rem);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .features {
        grid-template-columns: 1fr;
        /* Una sola columna para móviles estrechos */
    }

    .hero-title {
        font-size: 2.2rem;
        /* Tamaño más seguro para móviles pequeños */
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .contact-method {
        flex-direction: row;
        padding: 1.2rem 1.5rem;
        gap: 1rem;
    }

    .contact-method p {
        word-break: break-all;
        /* rompe correes muy largos */
    }
}

/* =========================================
   Sponsors Logos Section
   ========================================= */
.sponsors-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.sponsor-logo-item {
    background: #ffffff;
    padding: 1.5rem;
    /* Algo más de relleno para respirar */
    border-radius: 12px;
    border: 1px solid var(--clr-glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    /* Aumentado de 150px */
    height: 140px;
    /* Aumentado de 100px */
    transition: var(--trans-smooth);
}

.sponsor-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 102, 0, 0.1);
    border-color: var(--clr-primary-neon);
}

.sponsor-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Form Status & Animations */
.form-status {
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: none;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.form-status.success {
    display: block;
    background: rgba(40, 167, 69, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.form-status.error {
    display: block;
    background: rgba(220, 53, 69, 0.2);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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