/* =========================
   Página 404 - Base styles
   ========================= */

/* Contenedor principal */
.form-container-404 {
    max-width: 1100px;     /* limita ancho en pantallas grandes */
    width: 90%;            /* respira en laterales */
    margin: 0 auto;
    padding: 20px;
}

/* Título centrado */
.form-title-404 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 32px;
    line-height: 1.2;
}

/* Texto centrado utilitario */
.text-center-404 {
    text-align: center;
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

/* Imagen centrada */
.image-center-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.image-center-404 img {
    width: 40%;           /* 40% del contenedor en desktop */
    height: auto;         /* mantiene proporción */
    max-width: 600px;     /* límite máximo */
    border-radius: 8px;   /* opcional */
}

/* =========================
   Responsive
   ========================= */

/* Laptops medianos / tablets grandes */
@media (max-width: 1200px) {
    .form-title-404 { font-size: 28px; }
    .text-center-404 { font-size: 15.5px; }
    .image-center-404 img { width: 45%; max-width: 520px; }
}

/* Tablets */
@media (max-width: 820px) {
    .form-container-404 { width: 92%; padding: 18px; }
    .form-title-404 { font-size: 26px; }
    .text-center-404 { font-size: 15px; }
    .image-center-404 img { width: 55%; max-width: 480px; }
}

/* Móviles medianos */
@media (max-width: 600px) {
    .form-container-404 { width: 94%; padding: 16px; }
    .form-title-404 { font-size: 22px; }
    .text-center-404 { font-size: 14.5px; }
    .image-center-404 img { width: 70%; max-width: 400px; }
}

/* Móviles pequeños */
@media (max-width: 420px) {
    .form-container-404 { width: 96%; padding: 14px; }
    .form-title-404 { font-size: 20px; }
    .text-center-404 { font-size: 14px; }
    .image-center-404 img { width: 80%; max-width: 320px; }
}
