/* =====================================================
    RESET GENERAL
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* =====================================================
    CUERPO
===================================================== */
body {
    background: #eef3ff;
    overflow-x: hidden;
    padding: 20px;
}

/* =====================================================
    CONTENEDOR GENERAL — FORMULARIOS / PÁGINAS
===================================================== */
.contenedor {
    width: 100%;
    max-width: 480px;
    background: #fff;
    padding: 32px;
    border-radius: 18px;
    margin: 50px auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.form-box {
    width: 100%;
}

/* Formulario de mensajes */
.form-box-msg {
    text-align: center;
    padding: 25px;
}

/* =====================================================
    TITULOS
===================================================== */
.titulo {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.subtitulo {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* =====================================================
    INPUTS + SELECT
===================================================== */
input,
select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    outline: none;
    background: white;
    transition: .25s;
}

input:focus,
select:focus {
    border-color: #ff6b00;
    box-shadow: 0 0 6px rgba(255,107,0,0.4);
}

/* =====================================================
    SELECT — PROFESIONAL
===================================================== */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-image: url('../images/flecha.png');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
    cursor: pointer;
}

/* =====================================================
    OJITO DE CONTRASEÑA
===================================================== */
.input-contraseña {
    position: relative;
}

.input-contraseña input {
    padding-right: 50px;
}

.icono-ojo {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    cursor: pointer;
    opacity: .9;
}

/* =====================================================
    BOTONES
===================================================== */
.btn,
button.btn,
.btn-invertido,
button.btn-invertido {
    display: block;
    width: 100%;
    margin: 15px auto;
    padding: 14px 0;
    font-size: 19px;
    font-weight: bold;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: .25s;
}

/* BOTÓN BLANCO */
.btn,
button.btn {
    background: #fff;
    color: #ff6b00;
    border: 2px solid #ff6b00;
}

.btn:hover,
button.btn:hover {
    background: #ff6b00;
    color: white;
}

/* BOTÓN NARANJA */
.btn-invertido,
button.btn-invertido {
    background: #ff6b00;
    color: white;
    border: 2px solid #ff6b00;
}

.btn-invertido:hover,
button.btn-invertido:hover {
    background: #fff;
    color: #ff6b00;
}

/* =====================================================
    LINKS
===================================================== */
.texto-link {
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
}

.link {
    color: #ff6b00;
    font-weight: bold;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* =====================================================
    MENSAJES (para formularios)
===================================================== */
.msg-box {
    max-width: 450px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* =====================================================
    PÁGINAS SIN FORMULARIO
===================================================== */
.msg-page {
    width: 100%;
    max-width: 500px;
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    margin: 60px auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    text-align: center;
}

/* =====================================================
    GOOGLE SIGN-IN RESPONSIVE
===================================================== */
.g_id_signin {
    width: 100% !important;
}

/* =====================================================
    RESPONSIVE CELULAR
===================================================== */
@media (max-width: 480px) {

    body {
        padding: 10px;
    }

    .contenedor {
        width: 95% !important;
        max-width: none !important;
        margin: 20px auto !important;
        padding: 18px !important;
        border-radius: 14px !important;
    }

    .form-box-msg {
        padding: 10p
<style>
/* FORZAR QUE EL CONTENEDOR SE AGRANDE EN CELULAR */
.contenedor {
    width: 100% !important;
    max-width: 480px !important;
    padding: 30px !important;
    margin: 40px auto !important;
}

.form-box {
    width: 100% !important;
}

/* TARJETA DE MENSAJE */
.form-box-msg {
    text-align: center !important;
    width: 100% !important;
    padding: 10px !important;
}

/* MOBILE */
@media (max-width: 480px) {
    .contenedor {
        width: 95% !important;
        max-width: none !important;
        padding: 20px !important;
        margin: 20px auto !important;
    }

    .form-box-msg {
        width: 100% !important;
        padding: 10px !important;
    }
}
</style>
/* =====================================================
    AJUSTE PARA MSG-PAGE GRANDE EN MÓVIL
===================================================== */
@media (max-width: 480px) {
    /* Forzamos al contenedor de mensaje (msg-page) a ignorar la reducción general
       y usar un ancho casi completo en dispositivos móviles, similar a un formulario. */
    .contenedor.msg-page {
        width: 95% !important; /* Ancho casi completo */
        max-width: none !important; /* Ignora el máximo de 480px */
        margin: 20px auto !important; /* Margen para centrar */
        padding: 25px !important; /* Un poco más de padding interno */
    }

    /* Aseguramos que los títulos y subtítulos sigan centrados y bien espaciados */
    .contenedor.msg-page .titulo {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .contenedor.msg-page .subtitulo {
        font-size: 16px;
        margin-bottom: 25px;
        line-height: 1.4;
    }
}
