@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
    --primary: #ff7a15;
    --primary-light: #ffe0cc;
    --primary-dark: #e06d12;
    --secondary: #6366f1;
    --dark: #1e293b;
    --light: #f8fafc;
}

body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    transition: all 0.3s ease;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 122, 21, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 122, 21, 0.2);
    transform: translateY(-5px);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    box-shadow: 0 4px 15px rgba(255, 122, 21, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 122, 21, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.error-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.error-details.open {
    max-height: 500px;
}

.copy-btn {
    transition: all 0.2s ease;
}

.copy-btn:hover {
    transform: scale(1.05);
}

.copy-btn.copied {
    background-color: #10b981;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.1;
    position: absolute;
    top: -30px;
    right: 20px;
    z-index: 0;
}

.error-tag {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.support-link {
    color: var(--primary);
    text-decoration: underline;
    transition: all 0.2s ease;
}

.support-link:hover {
    color: var(--primary-dark);
}
