@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--verde-oscuro);
    color: var(--gris-oscuro);
}

/* Estilos específicos para el formulario de registro */
.container {
    max-width: 1200px;
    margin: 100px auto 30px;
    padding: 20px;
}

.form-container {
    background: var(--blanco);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    max-width: 650px;
    margin: 60px auto 30px auto;
}

.form-container h2 {
    text-align: center;
    color: #15907c;
    margin-bottom: 15px;
    font-size: 28px;
}

.form-description {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--verde);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group select {
    /* Reseteo para anular el estilo por defecto del navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Estilos idénticos a los campos de texto */
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s;
    cursor: pointer;

    /* Flecha personalizada para mantener la usabilidad */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 1em 0.75em;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #15907c;
    outline: none;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check input {
    margin-right: 10px;
}

.form-check label {
    color: #555;
    font-size: 14px;
}

.btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--verde);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--verde-oscuro);
}

.form-footer {
    margin-top: 20px;
    text-align: center;
}

.form-footer a {
    color: #15907c;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

.piePagina {
    background-color: #f0f1ec;
    color: #15907c;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin: 10px 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 3px;
    display: block;
}

@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }
    
    .container {
        margin-top: 80px;
    }
}