* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(145deg, #060812 0%, #0b0e1a 100%);
    color: #e0f0ff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.brand {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 8vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(90deg, #00ff9d, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.card {
    background: rgba(20, 25, 45, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 255, 157, 0.15);
    border-radius: 2rem;
    padding: 2rem 1.8rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.4rem;
    border-radius: 4rem;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #a3bffa;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.7rem 0;
    border-radius: 3rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: linear-gradient(90deg, #00ff9d, #00d4ff);
    color: #0b1121;
    box-shadow: 0 0 18px rgba(0, 255, 157, 0.5);
}

.auth-form {
    display: block;
}

.auth-form.hidden {
    display: none;
}

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6f7da0;
    font-size: 0.85rem;
    margin: 1.2rem 0;
}

.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
}

.or-divider span {
    margin: 0 0.8rem;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #e0f0ff;
    font-weight: 600;
    padding: 0.9rem;
    border-radius: 3rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00ff9d;
}

.btn-google i {
    color: #00ff9d;
    font-size: 1.3rem;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #b0c8ff;
    margin-bottom: 0.3rem;
    letter-spacing: 0.3px;
}

.input-field {
    width: 100%;
    background: rgba(8, 15, 30, 0.7);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 2rem;
    padding: 0.8rem 1.4rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: #00ff9d;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}

/* password wrapper for eye icon */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper .input-field {
    padding-right: 3rem;
    /* space for icon */
}

.password-toggle {
    position: absolute;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: #7c9eff;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    padding: 0.2rem;
}

.password-toggle:hover {
    color: #00ff9d;
}

/* country selector – automatically detected by system (simulated) */
.country-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(8, 15, 30, 0.7);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 2rem;
    padding: 0.4rem 1.2rem;
}

.country-row span {
    font-size: 1.2rem;
}

.country-row .country-name {
    color: #b0f0ff;
    font-weight: 500;
}

.country-note {
    font-size: 0.75rem;
    color: #7c9eff;
    margin-top: 0.25rem;
    margin-left: 1rem;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(90deg, #00ff9d, #00d4ff);
    border: none;
    color: #0b1121;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.9rem;
    border-radius: 3rem;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
    transition: transform 0.15s, box-shadow 0.2s;
    font-family: 'Orbitron', monospace;
}

.submit-btn:hover {
    transform: scale(1.01);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.7);
}

.extra-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.extra-links a {
    color: #00d4ff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 212, 255, 0.4);
}

.extra-links a:hover {
    color: #00ff9d;
}

.footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #6a7ca0;
}

.footer-note a {
    color: #7c9eff;
    text-decoration: none;
}

.detect-badge {
    background: rgba(0, 255, 157, 0.12);
    border-radius: 2rem;
    padding: 0.2rem 1rem;
    font-size: 0.7rem;
    color: #00ff9d;
    border: 1px solid #00ff9d33;
    margin-left: 0.5rem;
}