﻿/* Page background */
.error-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #1f2933, #111827);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #f9fafb;
}

/* Center container */
.middle-box {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Error text container */
.error-text {
    text-align: center;
    margin-bottom: 20px;
}

    /* Big 401 */
    .error-text h1 {
        font-size: 140px;
        font-weight: 800;
        margin: 0;
        color: #ef4444;
        letter-spacing: 6px;
        animation: pulse 2s infinite;
    }

    /* Unauthorized heading */
    .error-text h3 {
        font-size: 28px;
        font-weight: 500;
        margin-top: 10px;
        color: #e5e7eb;
    }

        .error-text h3 span {
            font-weight: 300;
            color: #9ca3af;
        }

/* Description box */
.error-desc {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

    /* Description text */
    .error-desc p {
        margin: 0;
        font-size: 15px;
        line-height: 1.6;
        color: #d1d5db;
    }

/* Subtle animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.03);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .error-text h1 {
        font-size: 90px;
    }

    .error-text h3 {
        font-size: 20px;
    }

    .error-desc {
        padding: 15px;
    }
}
