/* ========== RESET Y ESTILOS BASE ========== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Alegreya Sans SC', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}

/* ========== SCROLLBAR PERSONALIZADA ========== */
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #3974c9;
    border-radius: 5px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d5da7;
}

/* Para Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #3974c9 #f1f1f1;
}

/* ========== CONTENEDOR PRINCIPAL ========== */
.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ========== TARJETA DE ERROR ========== */
.error-card {
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
    border-radius: 8px;
}

.error-icon {
    font-size: 4rem;
    color: #d9534f;
    margin-bottom: 20px;
}

.error-title {
    font-size: 2.5rem;
    color: #333;
    margin: 0px;
}

.error-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin: 0px;
}

.error-message {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.error-btn {
    font-family: 'Alegreya Sans SC', sans-serif;
    padding: 10px 25px;
    font-size: 16px;
    color: white;
    background: #227bdb;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.error-btn:hover {
    background: #1a68bf;
    color: white;
    transform: translateY(-2px);
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 768px) {
    .error-card {
        padding: 30px 20px;
    }

    .error-icon {
        font-size: 3rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-subtitle {
        font-size: 1.3rem;
    }

    .error-message {
        font-size: 1rem;
    }
}