/* ============================================
   404 NOT FOUND PAGE - I.E.P.E. Apostol Pablo
   Variables globales en: css/app.css
   ============================================ */

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.not-found-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   CONTENIDO PRINCIPAL
   ============================================ */
.not-found-content {
    flex: 1;
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 2rem;
    background: var(--bg-light);
}

/* ============================================
   CARD CENTRAL
   ============================================ */
.not-found-card {
    text-align: center;
    max-width: 420px;
    width: 100%;
    padding: 2rem 1.5rem;
}

/* ============================================
   ICONO
   ============================================ */
.not-found-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: var(--bg-sky);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found-icon svg {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
}

/* ============================================
   TEXTOS
   ============================================ */
.not-found-code {
    font-size: 5rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.not-found-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.not-found-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ============================================
   BOTONES
   ============================================ */
.not-found-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.not-found-actions .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 768px) {
    .not-found-content {
        padding: 5rem 1.5rem 1.5rem;
    }

    .not-found-code {
        font-size: 4rem;
    }

    .not-found-title {
        font-size: 1.1rem;
    }
}

/* ============================================
   RESPONSIVE - MOVIL
   ============================================ */
@media (max-width: 480px) {
    .not-found-content {
        padding: 5rem 1rem 1.5rem;
    }

    .not-found-card {
        padding: 1.5rem 1rem;
    }

    .not-found-icon {
        width: 56px;
        height: 56px;
    }

    .not-found-icon svg {
        width: 28px;
        height: 28px;
    }

    .not-found-code {
        font-size: 3.5rem;
    }

    .not-found-title {
        font-size: 1rem;
    }

    .not-found-desc {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .not-found-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .not-found-actions .btn {
        width: 100%;
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   RESPONSIVE - MOVIL MUY PEQUENO
   ============================================ */
@media (max-width: 360px) {
    .not-found-card {
        padding: 1rem 0.75rem;
    }

    .not-found-code {
        font-size: 3rem;
    }

    .not-found-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .not-found-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   LANDSCAPE EN MOVIL
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .not-found-content {
        padding: 4rem 1rem 0.5rem;
    }

    .not-found-card {
        padding: 0.5rem 1rem;
    }

    .not-found-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .not-found-icon svg {
        width: 20px;
        height: 20px;
    }

    .not-found-code {
        font-size: 2.5rem;
        margin-bottom: 0.25rem;
    }

    .not-found-title {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .not-found-desc {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .not-found-actions {
        flex-direction: row;
    }

    .not-found-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}
