/* ═══════════════════════════════════════════
   MINESIX.IO — Auth Page Styles
═══════════════════════════════════════════ */

.auth-body { overflow: hidden; height: 100vh; }

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
}

/* ── Left Brand Panel ── */
.auth-left {
  position: relative;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#auth-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.auth-brand {
  position: relative;
  z-index: 2;
  padding: 48px;
  max-width: 440px;
}

.auth-tagline {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.af-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}

.auth-feat strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.auth-feat p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Right Form Panel ── */
.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
  background: var(--bg-base);
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

/* ── Tabs ── */
.auth-tabs {
  display: flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 32px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: calc(var(--radius-md) - 4px);
  transition: var(--transition);
}

.auth-tab.active {
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(0,212,255,0.1));
  color: var(--text-primary);
  border: 1px solid rgba(168,85,247,0.3);
}

/* ── Form ── */
.auth-form { }
.auth-form.hidden { display: none; }

.form-header {
  margin-bottom: 28px;
}

.form-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Google Button */
.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 13px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
}

.btn-google:hover {
  background: var(--bg-card);
  border-color: rgba(168,85,247,0.3);
}

/* Divider */
.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-divider span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Form Fields */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-link {
  font-size: 0.78rem;
  color: var(--accent-purple);
  text-decoration: none;
  transition: var(--transition);
}

.form-link:hover { color: var(--accent-cyan); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: rgba(168,85,247,0.5);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.08);
  background: var(--bg-card);
}

.form-group input::placeholder { color: var(--text-muted); }

.input-wrap {
  position: relative;
}

.input-wrap input { padding-right: 44px; }

.toggle-pass {
  position: absolute;
  right: 12px; top: 50%; transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  padding: 4px;
  transition: var(--transition);
}

.toggle-pass:hover { color: var(--text-primary); }

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent-purple);
}

.form-check label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .auth-body { overflow: auto; height: auto; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 40px 20px; min-height: 100vh; }
}
