:root {
    --bg-dark: #0a0b10;
    --accent: #007aff;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #f5f5f7;
    --text-dim: #86868b;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
}

.main-wrapper { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: 0 5%; }

.navbar { height: 80px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.logo { font-weight: 800; letter-spacing: 2px; text-decoration: none; color: white; }
.accent { color: var(--accent); }

.status-indicator { font-size: 0.7rem; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot.red { background: #ff3b30; box-shadow: 0 0 8px #ff3b30; }
.dot.green { background: #34c759; box-shadow: 0 0 8px #34c759; }

.auth-container { max-width: 450px; margin: 60px auto; background: var(--glass); border: 1px solid var(--border); border-radius: 24px; padding: 30px; backdrop-filter: blur(20px); text-align: center; }

.section-header { text-align: center; margin-bottom: 30px; }
h1 { font-size: 2rem; font-weight: 800; }
.highlight { color: var(--accent); }
.hero-description { color: var(--text-dim); font-size: 0.9rem; }

.tab-switcher { display: flex; background: rgba(255,255,255,0.05); padding: 5px; border-radius: 12px; margin-bottom: 25px; }
.tab-btn { flex: 1; padding: 12px; border: none; background: transparent; color: var(--text-dim); font-weight: 600; }
.tab-btn.active { background: var(--text-main); color: var(--bg-dark); border-radius: 8px; }
.tab-btn.locked { opacity: 0.3; cursor: not-allowed; }

.notice { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 20px; }
.glass-input { width: 100%; padding: 16px; margin-bottom: 15px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 12px; color: #fff; outline: none; }

.btn { padding: 16px; border-radius: 12px; font-weight: 600; cursor: pointer; border: none; width: 100%; }
.btn-filled { background: var(--text-main); color: var(--bg-dark); }
.disabled { opacity: 0.5; cursor: not-allowed; }

.footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.85rem; }

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 24px;
    max-width: 400px;
    width: 90%;
    text-align: left;
}

.requirements-list {
    margin: 20px 0;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.requirements-list ul { padding-left: 20px; }
.requirements-list li { margin-bottom: 10px; }

.checkbox-container {
    display: block;
    font-size: 0.8rem;
    color: var(--text-main);
    margin-bottom: 20px;
    cursor: pointer;
}

.btn-text {
    background: transparent;
    color: var(--text-dim);
    border: none;
    margin-top: 10px;
    width: 100%;
    cursor: pointer;
}
