/* ===================================
   ERROR SCREEN STYLES
   =================================== */
.error-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 500px;
}

.error-icon {
    font-size: 64px;
    margin-bottom: 24px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.error-title {
    color: var(--red500);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.error-message {
    color: var(--bg-gray600);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.error-details {
    background: var(--bg-gray100);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
    text-align: left;
}

.error-details-title {
    color: var(--bg-gray900);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.error-list {
    color: var(--bg-gray600);
    font-size: 14px;
    line-height: 1.8;
    list-style: none;
    padding-left: 0;
}

.error-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.error-list li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--red500);
    font-weight: bold;
}

.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--emerald500);
    color: white;
}

.btn-primary:hover {
    background: var(--emerald600);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: var(--bg-gray200);
    color: var(--bg-gray900);
}

.btn-secondary:hover {
    background: var(--bg-gray300);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 3px solid var(--emerald500);
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 640px) {
    .error-icon {
        font-size: 48px;
    }

    .error-title {
        font-size: 20px;
    }

    .error-container {
        padding: 20px 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }

    .error-actions {
        flex-direction: column;
    }
}