body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #f6d365, #fda085);
    margin: 0;
    padding: 0;
}

/*---------------------------- FORMULARIO ----------------------------*/
.form-section {
    max-width: 700px;
    margin: 50px auto;
    padding: 30px;
    background-color: #000000cc; /* Negro con transparencia */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #FFD700; /* Dorado para destacar */
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.input-row {
    display: flex;
    gap: 15px;
}

.input-row .input-group {
    flex: 1;
}

.input-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #FFD700; /* Dorado */
}

.input-group input,
.input-group select,
.input-group textarea {
    padding: 12px;
    border: 1px solid #FFD700;
    border-radius: 10px;
    font-size: 14px;
    background-color: #111; /* Fondo oscuro para inputs */
    color: white;
    transition: all 0.3s ease;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #ccc;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #FF4500; /* Naranja al enfocar */
    box-shadow: 0 0 8px rgba(255,69,0,0.5);
    outline: none;
}

.campo-extra.hidden {
    display: none;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #FF4500; /* Naranja */
    border: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #FFD700; /* Dorado al pasar el mouse */
    color: black;
    transform: translateY(-2px);
}

/*----------------------------- CONTRASEÑA ------------------------*/
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    flex: 1;
    padding: 12px 45px 12px 12px; /* espacio para el icono */
    border: 1px solid #FFD700; /* dorado */
    border-radius: 10px;
    background-color: #111; /* oscuro */
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.password-wrapper input:focus {
    border-color: #FF4500; /* naranja al enfocar */
    box-shadow: 0 0 8px rgba(255,69,0,0.5);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 12px;
    cursor: pointer;
    font-size: 20px;
    color: #FFD700; /* dorado */
    transition: transform 0.3s ease, color 0.3s ease;
}

.toggle-password:hover {
    color: #FF4500; /* naranja al pasar el mouse */
    transform: scale(1.2);
}
/*-------------------- MEDIA QUERIES --------------------*/
@media (max-width: 768px) {
    .input-row {
        flex-direction: column; /* Pasa los inputs a columnas */
    }

    .input-row .input-group {
        width: 100%; /* Cada input ocupa todo el ancho */
    }
}
