/* Estilos Generales */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f9;
    color: #333;
    margin: 0;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Contenedor del Formulario */
.form-container {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
}

.logo {
    max-width: 120px;
    margin-bottom: 1rem;
}

header h1 {
    color: #005a2b; /* Un verde corporativo */
    margin: 0;
    font-weight: 700;
}

header p {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Grupos de Formulario y Etiquetas */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
}

/* Estilos de Inputs */
input[type="text"],
input[type="date"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="date"]:focus,
textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

textarea {
    resize: vertical;
}

/* Estilos para Radio y Checkbox */
.radio-group label, .checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

input[type="radio"], input[type="checkbox"] {
    margin-right: 0.75rem;
    accent-color: #005a2b; /* Color del check/radio */
    transform: scale(1.2);
}

.inline-input {
    display: inline-block;
    width: auto;
    margin-left: 0.5rem;
    flex-grow: 1;
}


/* Botón de envío y mensajes */
.form-footer {
    text-align: center;
    margin-top: 2rem;
}

#submitBtn {
    background-color: #28a745;
    color: white;
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#submitBtn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

#submitBtn:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}



/* Responsividad */
@media (max-width: 600px) {
    body {
        padding: 1rem 0.5rem;
    }
    .form-container {
        padding: 1.5rem;
    }
    header h1 {
        font-size: 1.5rem;
    }
}