﻿
:root {
    /*--primary-color: #0056b3;*/
    --primary-hover: #004494;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    /* Strictly Light Theme Background */
    --bg-gradient: radial-gradient(circle at 50% 50%, #ffffff 0%, #f0f2f5 100%);
    --card-bg: #ffffff;
    --error-red: #dc3545;
    --bg-red-light: #fff0f0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container {
    text-align: center;
}

    .logo-container img {
        width: clamp(160px, 40vw, 220px);
        height: auto;
        display: block;
    }

.error-card {
    flex: 1;
    align-content: center;
    width: 100%;
    height : 100%;
}

    .error-card .card-body {
        background: var(--card-bg);
        padding: 48px;
        /*border-radius: 24px;*/
        box-shadow: var(--shadow);
        border: 1px solid rgba(0, 0, 0, 0.04);
        text-align: center;
        width: 100%;
        max-width: 700px;
        min-height: 350px;
        align-content: center;
        margin-left : auto;
        margin-right : auto;
    }

        .error-card .card-body .icon-wrapper {
            font-size: 64px;
            color: var(--error-red);
            display: inline-flex;
            margin-top: -18px;
            margin-bottom: 8px;
        }

    .error-card .card-body h1 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--text-dark);
        letter-spacing: -0.02em;
    }

    .error-card .card-body p {
        color: var(--text-muted);
        font-size: 16px;
        margin-bottom: 24px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .error-card .card-body .btn-home {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #216192;
        color: white;
        text-decoration: none;
        padding: 8px 6px;
        border-radius: 5px;
        font-weight: 500;
        font-size: 12px;
        /* transition: var(--transition);*/
        width: 100%;
        max-width: 172px;
    }

    .error-card .card-body .btn-home:hover {
        background-color: var(--primary-hover);
        /*        transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 86, 179, 0.25);*/
    }

.error-info-wrapper {
    margin: 30px auto 0 auto;
    display: flex;
    gap: 20px;
    flex-direction: column;
    font-size: 14px;
    text-align: left;
}

.error-info-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.error-item-value {
    color: var(--text-muted);
}

.error-stack-trace {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    background: var(--bg-red-light);
    gap: 6px;
    padding-left: 12px;
}

.stack-trace-lable {
    padding-top: 12px;
    padding-right: 12px;
}

.stack-trace-box {
    overflow: auto;
    scroll-behavior: smooth;
    max-height: 224px;
    color: var(--text-muted);
    font-family: inherit;
    margin: 0;
    padding-bottom:12px;
    padding-right:12px;
    scrollbar-width: thin;
/*    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-wrap: break-word;*/
}

/* Responsive Breakpoints */
@media (max-width: 480px) {
    body {
        padding: 1rem;
        justify-content: flex-start;
        padding-top: 10vh;
    }

    .error-card .card-body {
        border-radius: 20px;
        padding: 2.5rem;
    }

    .btn-home {
        max-width: 100%;
    }
}



