/* ========================================
   ERROR PAGES STYLES - MINIMAL & CLEAN
   ======================================== */

/* Error Page Container */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
    padding: 2rem;
}

/* Dark mode background */
html.dark .error-page {
    background: #0f172a;
}

/* Error Content */
.error-content {
    text-align: center;
    max-width: 500px;
    padding: 0;
    background: transparent;
    position: relative;
    z-index: 10;
}


/* Error Title */
.error-title {
    font-size: 6rem;
    font-weight: 300;
    margin: 0 0 1rem 0;
    color: #1e293b;
    line-height: 1;
    letter-spacing: -0.05em;
}

html.dark .error-title {
    color: #f1f5f9;
}

/* Error Subtitle */
.error-subtitle {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 400;
    color: #475569;
    line-height: 1.4;
}

html.dark .error-subtitle {
    color: #cbd5e1;
}

/* Error Description */
.error-description {
    font-size: 1rem;
    margin: 0 0 4rem 0;
    line-height: 1.6;
    color: #64748b;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

html.dark .error-description {
    color: #94a3b8;
}

/* Error Actions */
.error-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.error-btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid;
    cursor: pointer;
    font-size: 0.95rem;
    min-width: 120px;
    justify-content: center;
}


.error-btn-primary {
    background: #1e293b;
    color: white;
    border-color: #1e293b;
}

.error-btn-primary:hover {
    background: #334155;
    border-color: #334155;
    transform: translateY(-1px);
}

html.dark .error-btn-primary {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #f1f5f9;
}

html.dark .error-btn-primary:hover {
    background: #e2e8f0;
    border-color: #e2e8f0;
}

.error-btn-secondary {
    background: transparent;
    color: #64748b;
    border-color: #d1d5db;
}

.error-btn-secondary:hover {
    background: #f8fafc;
    color: #475569;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

html.dark .error-btn-secondary {
    color: #94a3b8;
    border-color: #475569;
}

html.dark .error-btn-secondary:hover {
    background: #1e293b;
    color: #cbd5e1;
    border-color: #64748b;
}


/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.error-content {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-page {
        padding: 1rem;
    }
    
    .error-content {
        max-width: 100%;
    }
    
    .error-title {
        font-size: 4rem;
    }
    
    .error-subtitle {
        font-size: 1.25rem;
    }
    
    .error-description {
        font-size: 0.95rem;
        margin-bottom: 3rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .error-btn {
        width: 100%;
        max-width: 200px;
    }
    
}

@media (max-width: 480px) {
    .error-title {
        font-size: 3rem;
    }
    
    .error-subtitle {
        font-size: 1.1rem;
    }
    
    .error-description {
        font-size: 0.9rem;
    }
    
}

