* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.top-header {
    background: linear-gradient(120deg, #4f46e5, #7c3aed);
    padding: 1rem 2rem;
    border-radius: 1rem 1rem 0 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: white;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.error-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0 0 1rem 1rem;
    overflow: hidden;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.3);
}

.error-header {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.error-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.3);
}

.error-icon i {
    font-size: 3rem;
    color: white;
}

.error-header h2 {
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.error-header p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    body {
        padding: 1rem;
    }
    
    .error-container {
        max-width: 100%;
    }
    
    .top-header {
        padding: 1rem 1.5rem;
    }
    
    .error-header {
        padding: 2rem 1.5rem;
    }
    
    .error-header h2 {
        font-size: 1.5rem;
    }
    
    .error-icon {
        width: 70px;
        height: 70px;
    }
    
    .error-icon i {
        font-size: 2.2rem;
    }
}