﻿:root {
    --primary: #9369a0;
    --secondary: #682c7c;
    --success: #b08fbe;
    --info: #6c7a91;
    --warning: #c77dff;
    --light: #f8f9fa;
    --dark: #2d2d2d;
    --gray: #6c757d;
    --card-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

body {
    background-color: #f0f2f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    font-size: 0.9rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 20px;
}

.error-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Card Styles matching your design */
.card-modern {
    background: white;
    border-radius: 10px;
    border: none;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

    .card-modern:hover {
        transform: translateY(-4px);
        box-shadow: var(--hover-shadow);
    }

.card-header-modern {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 1.1rem;
    text-align: center;
}

.card-body-modern {
    padding: 2rem;
    text-align: center;
}

/* Error specific styles */
.error-code {
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.error-message {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles matching your design */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(147, 105, 160, 0.3);
        color: white;
    }

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    background: white;
}

    .btn-outline-custom:hover {
        background-color: var(--primary);
        color: white;
        transform: translateY(-2px);
    }

.error-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Status blocks similar to your design */
.status-blocks {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    padding: 1rem;
    background: rgba(147, 105, 160, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .status-item:hover {
        background: rgba(147, 105, 160, 0.1);
        transform: translateY(-2px);
    }

    .status-item i {
        font-size: 1.5rem;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

.status-label {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.status-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Footer matching your design */
.footer {
    background-color: #e9ecef;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    margin-top: 2rem;
}

footer small {
    font-size: 0.75rem;
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-code {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-message {
        font-size: 0.9rem;
    }

    .card-body-modern {
        padding: 1.5rem;
    }

    .status-blocks {
        gap: 1rem;
    }

    .status-item {
        min-width: 80px;
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px;
    }

    .error-code {
        font-size: 3rem;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .status-blocks {
        flex-direction: column;
        align-items: center;
    }
}

/* Utility classes from your design */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}
