﻿/* ===== ESTILOS PARA EL FORMULARIO DE REGISTRO ===== */
/* Neutraliza los márgenes/paddings del body global */
.register-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    margin: -20px; /* Neutraliza el padding del body */
    padding: 0; /* Elimina padding interno */
    width: calc(100% + 40px); /* Compensa el padding del body */
    box-sizing: border-box;
}

/* Fondo de pantalla completa */
.register-background {
    background-image: url('/images/FormBackground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
}

    /* Capa semitransparente sobre el fondo */
    .register-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(238, 192, 240, 0.4);
        z-index: 0;
    }

/* Contenedor del formulario */
.register-container {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    width: 90%;
    padding: 30px 40px;
    margin: 20px auto; /* Margen solo alrededor del formulario */
    font-family: 'Poppins', sans-serif;
}

/* Estilos del título */
.register-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

/* Campos de entrada */
.register-input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #555;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

    .register-input::placeholder {
        color: #aaa;
    }

/* Botón de registro */
.register-button {
    width: 100%;
    padding: 12px;
    background-color: #ff9266;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Poppins', sans-serif;
}

    .register-button:hover {
        background-color: #ff7b4e;
    }

/* Diseño de columnas para el formulario */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 15px;
    align-items: center;
}

    .form-row.full-width {
        grid-template-columns: 1fr;
    }

/* ===== RESPONSIVE (Móviles) ===== */
@media (max-width: 768px) {
    .register-wrapper {
        margin: -20px -20px 0; /* Ajuste para móviles */
        width: calc(100% + 40px);
    }

    .register-container {
        width: 90%;
        padding: 15px;
        margin: 20px auto;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
