body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    display: flex;
    align-items: center;
    max-width: 900px;
    width: 90%;
}

.error-code {
    font-family: 'Montserrat', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    color: #adb5bd;
    margin-right: 50px;
    text-shadow: 4px 4px 0px #ced4da;
}

.error-details p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

.error-details h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin: 10px 0;
}

.error-details h2 sup {
    font-size: 1.8rem;
    top: -1.2em;
}

.error-details .disclaimer {
    font-size: 0.9rem;
    color: #495057;
    max-width: 350px;
    margin-top: 20px;
}

.error-details .disclaimer sup {
    font-size: 0.6rem;
}

.company-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
}

@media (max-width: 768px) {
    body {
        height: auto;
        min-height: 100vh;
        padding: 20px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        display: flex;
        flex-direction: column;
    }

    .container {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin: 10px 0;
        flex: 1;
    }

    .error-code {
        font-size: 4.5rem;
        margin: 0 0 30px 0;
        text-align: center;
        color: #007bff;
        text-shadow: none;
        line-height: 1;
    }
    
    .error-details {
        text-align: center;
        width: 100%;
    }

    .error-details p {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: #495057;
        font-weight: 400;
    }

    .error-details h2 {
        font-size: 3.5rem;
        margin: 15px 0 20px 0;
        color: #212529;
        line-height: 1.1;
    }

    .error-details h2 sup {
        font-size: 1.5rem;
        top: -1.2em;
        color: #000000;
    }

    .error-details .disclaimer {
        max-width: 100%;
        font-size: 1rem;
        color: #6c757d;
        line-height: 1.6;
        margin-top: 20px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 10px;
        border-left: 4px solid #007bff;
    }

    .error-details .disclaimer sup {
        font-size: 0.7rem;
        color: #000000;
    }
    
    .company-footer {
        position: static;
        margin-top: auto;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 10px;
        font-size: 0.75rem;
        color: #6c757d;
        line-height: 1.4;
    }
}

.highlight {
    color: #007bff;
    font-weight: 700;
}

.debug-box {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    padding: 20px;
    margin-top: 30px;
    border-radius: 5px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}

.debug-box h3 {
    margin: 0 0 15px;
    font-weight: 700;
    color: #007bff;
}

.debug-box dl {
    margin: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 10px 20px;
}

.debug-box dt {
    font-weight: 700;
}

.home-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.home-button:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
} 