@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Roboto:wght@300;400;500&display=swap');

/* =========================================================
   MAXALUD — REGISTRO CENTRO MÉDICO
   Mantiene la UX/UI del Login Centro Médico
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #3D4652;
    background: #F5F7FB;
    min-height: 100vh;
}

/* CONTENEDOR */

.registro-container {
    width: 100%;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

/* TARJETA */

.registro-card {
    width: 100%;
    max-width: 900px;
    background: #FFFFFF;
    border: 1px solid #E0E5EF;
    border-radius: 18px;
    padding: 38px 44px;
    box-shadow: 0 8px 30px rgba(13, 42, 148, 0.06);
}

/* ENCABEZADO */

.registro-header {
    text-align: center;
    margin-bottom: 35px;
}

.registro-icono {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #0D2A94;
    color: #ffffff;
    font-size: 35px;
    line-height: 1;
}

.registro-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #182B49;
    margin-bottom: 7px;
}

.registro-header p {
    font-size: 14px;
    font-weight: 300;
    color: #667085;
}

/* SECCIONES */

.seccion-formulario {
    margin-bottom: 30px;
    padding-bottom: 28px;
    border-bottom: 1px solid #E6EAF0;
}

.seccion-formulario h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #0D2A94;
    margin-bottom: 20px;
}

.texto-ayuda {
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #667085;
}

/* GRID */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
}

.campo-completo {
    grid-column: 1 / -1;
}

/* CAMPOS */

.campo {
    display: flex;
    flex-direction: column;
}

.campo label {
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 400;
    color: #182B49;
}

.campo input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #D8DFEA;
    border-radius: 9px;
    background: #FFFFFF;
    color: #3D4652;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.campo input:focus {
    border-color: #0D2A94;
    box-shadow: 0 0 0 2px rgba(13, 42, 148, 0.10);
}

.campo input::placeholder {
    color: #9AA3B2;
}

/* ARCHIVOS */

.campo input[type="file"] {
    height: auto;
    padding: 11px 14px;
    cursor: pointer;
}

.campo small {
    margin-top: 6px;
    font-size: 12px;
    color: #7A8494;
}

/* TÉRMINOS */

.terminos {
    margin: 5px 0 24px;
}

.terminos label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
}

.terminos input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #0D2A94;
}

.terminos span {
    font-size: 13px;
    line-height: 1.5;
    color: #667085;
}

/* BOTÓN PRINCIPAL */

.btn-enviar {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 9px;
    background: #0D2A94;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-enviar:hover {
    background: #09237D;
}

/* REGRESAR */

.btn-regresar {
    display: block;
    width: fit-content;
    margin: 18px auto 0;
    color: #52709D;
    text-decoration: none;
    font-size: 13px;
}

.btn-regresar:hover {
    color: #0D2A94;
}

/* RESPONSIVE */

@media (max-width: 700px) {

    .registro-container {
        padding: 20px 12px;
    }

    .registro-card {
        padding: 30px 22px;
        border-radius: 14px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .campo-completo {
        grid-column: auto;
    }

    .registro-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {

    .registro-card {
        padding: 25px 18px;
    }

    .registro-header h1 {
        font-size: 21px;
    }

    .seccion-formulario h2 {
        font-size: 17px;
    }
}