﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
}

.error-card {
    background: #fff;
    border-radius: 4px;
    border: 5px solid #20244F;
    padding: 56px 64px 48px;
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.error-container {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.error-face {
    font-size: 72px;
    font-weight: 300;
    color: #20244F;
    letter-spacing: -4px;
}

.error-code {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #20244F;
    opacity: .7;
    text-transform: uppercase;
}

.error-title {
    font-size: 22px;
    font-weight: 600;
    color: #20244F;
}

.error-desc {
    font-size: 14px;
    color: #6c7a8a;
    line-height: 1.7;
    margin: 0 0 36px;
}

.error-divider {
    border: none;
    border-top: 1px solid #e8ecf0;
    margin: 0 0 32px;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-error {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-family: Arial, sans-serif;
}

.btn-primary-error {
    background: #20244F;
    color: #fff;
}

.btn-secondary-error {
    background: #fff;
    color: #20244F;
    border: 1.5px solid #1a3a5c;
}

.error-brand {
    margin-top: 36px;
    font-size: 12px;
    color: #b0bec8;
}

    .error-brand span {
        font-weight: 700;
        color: #8a9bb0;
    }

@media(max-width: 480px) {
    .error-card {
        width: 100%;
    }

    .error-face {
        font-size: 58px;
    }

    .error-title {
        font-size: 19px;
    }

    .error-actions {
        flex-direction: column; /* botones apilados en pantallas muy pequeñas */
        align-items: stretch;
    }

    .btn-error {
        justify-content: center;
        padding: 12px 20px;
    }
}

@media(max-width: 430px) {
    .error-card {
        padding: 56px 48px 48px
    }
}

@media(max-width: 370px) {
    .error-card {
        padding: 56px 30px 48px
    }

    .btn-error {
        justify-content: center;
        padding: 10px 18px;
    }
}
