:root {
    --bg-grad: radial-gradient(circle at top left, #1e293b, #0f172a);
    --card-bg: rgba(30, 41, 59, 0.7);
    --border: 1px solid rgba(148, 163, 184, 0.1);
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
    --danger: #ef4444;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background: #0f172a;
    background-image: radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.1) 0px, transparent 50%), 
                      radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--card-bg);
    padding: 48px;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    border: var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

h1, h2 { margin: 0 0 12px 0; font-weight: 600; letter-spacing: -0.025em; }
p { color: var(--text-muted); margin: 0 0 32px 0; font-size: 14px; line-height: 1.5; }
.warning-text { color: #fca5a5; font-weight: 500; }

.input-group { position: relative; margin-bottom: 24px; }

input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 16px;
    font-family: monospace;
    transition: all 0.2s;
    outline: none;
}
input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2); }

.primary-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.primary-btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.primary-btn:active { transform: translateY(0); }
.primary-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.secondary-link { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.secondary-link:hover { color: var(--primary); text-decoration: underline; }

.loader {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(59,130,246,0.3);
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.hidden { display: none; }
