﻿.aizaac-error-page {
    width: 100%;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #f5f7fa;
}

.aizaac-error-card {
    width: 100%;
    max-width: 820px;
    background: #ffffff;
    border: 1px solid #d9dee7;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
}

.aizaac-error-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 26px;
    border-bottom: 1px solid #e5e7eb;
    background: #111827;
}

.aizaac-error-brand {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.aizaac-error-status {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 12px;
    font-weight: 600;
    color: #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aizaac-error-body {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 34px 36px 30px 36px;
}

.aizaac-error-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    background: #b91c1c;
}

.aizaac-error-content {
    flex: 1;
    min-width: 0;
}

.aizaac-error-title {
    margin: 0 0 10px 0;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
}

.aizaac-error-message {
    margin: 0 0 22px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
}

.aizaac-error-detail {
    margin-top: 16px;
    border: 1px solid #e5b8b8;
    background: #fff8f8;
}

.aizaac-error-detail-title {
    padding: 10px 14px;
    border-bottom: 1px solid #f0caca;
    background: #fff1f1;
    font-size: 13px;
    font-weight: 700;
    color: #991b1b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aizaac-error-detail-text {
    padding: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #7f1d1d;
    word-break: break-word;
    white-space: pre-wrap;
}

.aizaac-error-actions {
    margin-top: 24px;
}

.aizaac-error-button {
    display: inline-block;
    min-width: 210px;
    padding: 12px 20px;
    border: 1px solid #111827;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

    .aizaac-error-button:hover {
        background: #000000;
        border-color: #000000;
        color: #ffffff;
        text-decoration: none;
    }

.aizaac-error-footer {
    padding: 14px 26px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
    font-size: 13px;
    color: #6b7280;
    text-align: right;
}

@media (max-width: 640px) {
    .aizaac-error-page {
        min-height: 65vh;
        padding: 24px 14px;
    }

    .aizaac-error-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 18px 20px;
    }

    .aizaac-error-body {
        flex-direction: column;
        gap: 16px;
        padding: 26px 22px;
    }

    .aizaac-error-title {
        font-size: 22px;
    }

    .aizaac-error-message {
        font-size: 15px;
    }

    .aizaac-error-button {
        width: 100%;
        min-width: 0;
    }

    .aizaac-error-footer {
        text-align: left;
        padding: 14px 20px;
    }
}
