@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --fondo: #e5e7eb;
    --fondo-sec: #f3f4f6;
    --card: #ffffff;
    --texto: #1f2937;
    --texto-mutado: #6b7280;
    --borde: #d1d5db;
    --principal: #4b5563;
    --principal-hover: #374151;
    --success: #10b981;
    --naranja-eet: #fa4e0f;
    --shadow: 0 8px 30px rgba(0,0,0,.08);
}

* {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(
        135deg,
        #d1d5db,
        #e5e7eb,
        #f3f4f6
    );
    color: var(--texto);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

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

.header-form h1 {
    color: var(--texto);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.header-form p {
    color: var(--texto-mutado);
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* Línea divisoria con el degradado del Header del panel */
.circuit-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #fa4e0f 0%, #d96136 50%, #d75a2d 100%);
    margin: 25px 0;
    border-radius: 2px;
}

/* =====================================================
   FORMULARIO
===================================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--texto-mutado);
    font-weight: bold;
    font-size: 1.1rem;
}

input,
select {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--borde);
    background: var(--fondo-sec);
    color: var(--texto);
    font-size: 1.1rem;
    transition: .25s;
}

/* Tipografía de lectura interna más limpia */
input {
    font-family: 'Work Sans', sans-serif;
    letter-spacing: 0.5px;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--naranja-eet);
    background: white;
    box-shadow: 0 0 12px rgba(250, 78, 15, 0.2);
}

/* =====================================================
   SECCIÓN DE INTEGRANTES
===================================================== */
.seccion-titulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--principal);
    font-size: 1.8rem;
    margin: 30px 0 15px;
    border-bottom: 2px solid var(--borde);
    padding-bottom: 5px;
}

.miembro-card {
    color: black;
    background: white;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 15px;
    border: 1px solid var(--borde);
    border-left: 4px solid var(--naranja-eet); /* Detalle naranja EET */
    box-shadow: 0 4px 15px rgba(0,0,0,.02);
    animation: fadeDown .3s ease;
}
.miembro-card h4 {
color: black;
}
.grid-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

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

/* =====================================================
   BOTONES
===================================================== */
.btn-add {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 2px dashed var(--principal);
    background: rgba(75, 85, 99, 0.05);
    color: var(--principal);
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: .25s;
}

.btn-add:hover {
    background: var(--principal);
    color: white;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: var(--success);
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 25px;
    transition: .25s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-submit:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.btn-volver {
    display: inline-block;
    text-align: center;
    margin-top: 20px;
    color: var(--texto-mutado);
    text-decoration: none;
    font-size: 1.1rem;
    transition: .2s;
}

.btn-volver:hover {
    color: var(--naranja-eet);
}

/* =====================================================
   ALERTA
===================================================== */
.alerta-cerrado {
    text-align: center;
    color: #ef4444;
    font-size: 1.5rem;
    padding: 30px;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media(max-width:768px) {
    .form-container {
        padding: 25px 15px;
    }

    .header-form h1 {
        font-size: 2.1rem;
    }

    .grid-inputs {
        grid-template-columns: 1fr;
    }
}