body {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

.error-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.error-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    max-width: 700px;
    width: 100%;
    animation: slideUp 0.6s ease-out;
    border: 1px solid #e9ecef;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-icon {
    font-size: 120px;
    color: #e74c3c;
    animation: shake 0.8s ease-in-out;
    display: inline-block;
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-5deg);
    }

    20%, 40%, 60%, 80% {
        transform: rotate(5deg);
    }
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 20px 0;
}

.error-subtitle {
    font-size: 1.1rem;
    color: #546e7a;
    margin-bottom: 30px;
    line-height: 1.6;
}

.request-id-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    border-left: 4px solid #667eea;
}

.request-id-label {
    font-size: 0.85rem;
    color: #546e7a;
    margin-bottom: 8px;
    font-weight: 600;
}

.request-id-value {
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #2c3e50;
    word-break: break-all;
    border: 1px solid #e0e0e0;
}

.action-buttons {
    margin-top: 40px;
}

.btn-custom {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    margin: 8px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        color: white;
    }

.btn-secondary-custom {
    background: #fff;
    color: #667eea;
    border: 2px solid #667eea;
}

    .btn-secondary-custom:hover {
        background: #667eea;
        color: white;
        transform: translateY(-2px);
    }

.floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

    .shape:nth-child(1) {
        top: 10%;
        left: 10%;
        font-size: 60px;
        animation-delay: 0s;
    }

    .shape:nth-child(2) {
        top: 70%;
        left: 80%;
        font-size: 80px;
        animation-delay: 4s;
    }

    .shape:nth-child(3) {
        top: 40%;
        left: 70%;
        font-size: 50px;
        animation-delay: 2s;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

@media (max-width: 768px) {
    .error-card {
        padding: 40px 24px;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-icon {
        font-size: 80px;
    }

    .btn-custom {
        display: block;
        width: 100%;
        margin: 8px 0;
    }
}
