﻿.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.error-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-icon {
    font-size: 64px;
    color: #f39c12;
    margin-bottom: 20px;
}

.error-title {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.error-description {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

    .error-actions .dx-button {
        min-width: 200px;
    }

.error-details {
    text-align: left;
    margin-top: 30px;
    border-top: 1px solid #ecf0f1;
    padding-top: 30px;
}

    .error-details .dx-card {
        background: #f8f9fa;
        border: none;
        box-shadow: none;
    }

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .error-container {
        padding: 30px 20px;
    }

    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 24px;
    }

    .error-description {
        font-size: 16px;
    }

    .error-actions .dx-button {
        min-width: 150px;
        width: 100%;
    }
}

/* Темная тема (опционально) */
@media (prefers-color-scheme: dark) {
    .error-container {
        background: #2c3e50;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .error-title {
        color: #ecf0f1;
    }

    .error-description {
        color: #bdc3c7;
    }

    .error-details .dx-card {
        background: #34495e;
        color: #ecf0f1;
    }

        .error-details .dx-card p {
            color: #bdc3c7;
        }
}
