/* =====================================================
   CONFIGURACIÓN GENERAL
===================================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background-color: #f5f7fb;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


/* =====================================================
   CONTENEDOR REGISTRO
===================================================== */

.registro-container {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 15px;
}


/* =====================================================
   TARJETA REGISTRO
===================================================== */

.registro-card {
    width: 100%;
    max-width: 450px;

    background-color: #ffffff;

    border-radius: 14px;

    padding: 35px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10);
}


/* =====================================================
   ENCABEZADO
===================================================== */

.registro-header {
    text-align: center;

    margin-bottom: 30px;
}


.registro-icon {
    width: 75px;
    height: 75px;

    margin: 0 auto 18px auto;

    border-radius: 50%;

    background-color: #e9f7ef;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 36px;
}


.registro-header h1 {
    margin: 0;

    font-size: 28px;

    font-weight: 700;

    color: #212529;
}


.registro-header p {
    margin-top: 8px;
    margin-bottom: 0;

    color: #6c757d;

    font-size: 15px;
}


/* =====================================================
   FORMULARIO
===================================================== */

.form-label {
    color: #343a40;
}


.form-control {
    min-height: 46px;

    border-radius: 8px;

    border: 1px solid #ced4da;
}


.form-control:focus {
    border-color: #198754;

    box-shadow:
        0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}


.form-text {
    font-size: 12px;

    color: #6c757d;
}


/* =====================================================
   BOTÓN REGISTRO
===================================================== */

.btn-registro {
    min-height: 48px;

    margin-top: 8px;

    border-radius: 8px;

    font-weight: 600;

    font-size: 16px;
}


/* =====================================================
   MENSAJES
===================================================== */

#mensajeRegistro {
    margin-top: 10px;

    margin-bottom: 10px;
}


#mensajeRegistro .alert {
    margin-bottom: 0;

    font-size: 14px;
}


/* =====================================================
   ENLACE LOGIN
===================================================== */

.login-enlace {
    text-align: center;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #eeeeee;

    color: #6c757d;

    font-size: 14px;
}


.login-enlace a {
    margin-left: 4px;

    color: #198754;

    font-weight: 600;

    text-decoration: none;
}


.login-enlace a:hover {
    text-decoration: underline;
}


/* =====================================================
   VOLVER AL SISTEMA
===================================================== */

.volver-mapa {
    text-align: center;

    margin-top: 18px;
}


.volver-mapa a {
    color: #6c757d;

    font-size: 14px;

    text-decoration: none;
}


.volver-mapa a:hover {
    color: #198754;

    text-decoration: underline;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 575.98px) {

    .registro-container {
        padding: 20px 12px;
    }


    .registro-card {
        padding: 25px 20px;

        border-radius: 12px;
    }


    .registro-header h1 {
        font-size: 24px;
    }


    .registro-icon {
        width: 65px;
        height: 65px;

        font-size: 30px;
    }

}