﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #f8fafc;
    font-family: 'Geist', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

    /* Subtle grid background */
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: linear-gradient(rgba(15,23,42,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,0.03) 1px, transparent 1px);
        background-size: 32px 32px;
        pointer-events: none;
    }

.container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.4s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card */
.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(15,23,42,0.04), 0 4px 6px -2px rgba(15,23,42,0.04), 0 20px 48px -8px rgba(15,23,42,0.12);
}

/* Top accent stripe */
.stripe {
    height: 4px;
    background: linear-gradient(90deg, #fca5a5, #ef4444, #dc2626);
}

.card-body {
    padding: 32px;
}

/* Icon */
.icon-ring {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .icon-ring svg {
        width: 28px;
        height: 28px;
        stroke: #ef4444;
    }

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

    .badge::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #ef4444;
        animation: pulse 1.5s ease infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

/* Title */
.title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.2;
}

/* Message */
.message {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* Divider */
.divider {
    height: 1px;
    background: #f1f5f9;
    margin-bottom: 20px;
}

/* Meta */
.meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.meta-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.meta-label {
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    flex-shrink: 0;
}

.meta-value {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    color: #475569;
    text-align: right;
    word-break: break-all;
}

/* Actions */
.actions {
    display: flex;
    gap: 10px;
}

.btn {
    flex: 1;
    font-family: 'Geist', sans-serif;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    padding: 11px 16px;
    cursor: pointer;
    border: 1px solid;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s;
    letter-spacing: -0.01em;
}

    .btn svg {
        width: 14px;
        height: 14px;
        stroke: currentColor;
        flex-shrink: 0;
    }

.btn-primary {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

    .btn-primary:hover {
        background: #1e293b;
        border-color: #1e293b;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(15,23,42,0.2);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

.btn-ghost {
    background: #ffffff;
    color: #64748b;
    border-color: #e2e8f0;
}

    .btn-ghost:hover {
        background: #f8fafc;
        color: #334155;
        border-color: #cbd5e1;
    }

/* Footer */
.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #94a3b8;
    font-family: 'Geist Mono', monospace;
}
