:root {
    --primary: #4f46e5;
    --bg: #f8fafc;
    --text: #1e293b;
    --card-bg: #ffffff;
    --border: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    margin: 0;
    color: var(--text);
}

.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.auth-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header h1 { margin: 0 0 8px 0; color: var(--primary); }
.auth-header p { margin: 0; color: #64748b; font-size: 14px; }

.auth-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.2s;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-form { display: none; }
.auth-form.active { display: block; animation: fadeIn 0.3s; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.form-group small { display: block; margin-top: 4px; color: #94a3b8; font-size: 11px; }

.btn-primary, .btn-secondary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}
.btn-primary { background: var(--primary); color: white; }
.btn-secondary { background: #10b981; color: white; }
.btn-primary:hover { background: #4338ca; }

.error-msg {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 13px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Wizard Styles */
.wizard-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}
.wizard-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}
.wizard-progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.dot.active { background: var(--primary); }
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.platform-option {
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.platform-option:hover, .platform-option.selected {
    border-color: var(--primary);
    background: #eef2ff;
}
.platform-option img { width: 40px; height: 40px; margin-bottom: 10px; }