﻿:root {
    --bg: #34a886;
    --card: #ffffff;
    --accent: #127759;
    --muted: #6b7280;
    --radius: 14px;
    --white: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg);
    color: #111827;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* کارت مرکزی خطا */
.error-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    padding: 48px 36px;
    max-width: 460px;
    width: 90%;
    animation: fadeIn 0.5s ease;
}

/* عنوان بزرگ خطا */
.error-title {
    font-size: 80px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
}

/* توضیح کوتاه */
.error-message {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* دکمه بازگشت */
.error-button {
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease, transform 0.1s ease;
    display: inline-block;
}

    .error-button:hover {
        background: #0d5c45;
    }

    .error-button:active {
        transform: translateY(2px);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
