:root {
    --bg-color: #000000;
    --card-bg: rgba(24, 24, 27, 0.7);
    --accent: #3b82f6;
    --text-main: #f4f4f5;
    --text-dim: #71717a;
    --border: rgba(63, 63, 70, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: radial-gradient(circle at top, #18181b 0%, var(--bg-color) 100%);
    color: var(--text-main);
    min-h-screen: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.glass-container {
    width: 100%;
    max-width: 400px;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.accent-glow {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: rgba(59, 130, 246, 0.15);
    filter: blur(80px);
    z-index: -1;
}

header {
    text-align: center;
    margin-bottom: 32px;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

header h1 span {
    color: var(--accent);
}

#statusMsg {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 8px;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 8px;
    margin-left: 4px;
}

input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

button[type="submit"] {
    width: 100%;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.1s ease, background 0.2s ease;
}

button[type="submit"]:hover {
    background: #e4e4e7;
}

button[type="submit"]:active {
    transform: scale(0.98);
}

.toggle-container {
    margin-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

#toggleBtn {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
}

#toggleBtn:hover {
    text-decoration: underline;
}