/* Error Pages Styles (403, 404, 500) */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-content {
    max-width: 600px;
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 1rem 0;
}

.error-message {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Base secondary button */
.error-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.error-btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.error-icon {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

/* 404 Specifics */
.error-code.code-404 {
    color: #ef4444;
}

.error-btn-primary.btn-404 {
    background: #1e3a8a;
    color: white;
    border: none;
}

.error-btn-primary.btn-404:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* 500 Specifics */
.error-code.code-500 {
    color: #f59e0b;
}

.error-btn-primary.btn-500 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
}

.error-btn-primary.btn-500:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.error-details {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: left;
}

.error-details h4 {
    margin: 0 0 0.5rem 0;
    color: #92400e;
    font-size: 1rem;
    font-weight: 600;
}

.error-details p {
    margin: 0;
    font-size: 0.9rem;
    color: #78350f;
}

/* 403 Specifics */
.error-code.code-403 {
    color: #dc2626;
}

.error-btn-primary.btn-403 {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
}

.error-btn-primary.btn-403:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

@media (max-width: 640px) {
    .error-content {
        padding: 2rem 1.5rem;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}
