/* ================================================================
   CRYPTOBOT SAAS — Globais & UI Base (Landing/Auth)
   ================================================================ */

:root {
  --bg:           #0a0e1a;
  --bg-surface:   #131929;
  --bg-hover:     #1a2235;
  --border:       #1f2d45;
  --primary:      #6366f1;
  --primary-hover:#4f46e5;
  --accent:       #22d3ee;
  --text:         #f9fafb;
  --text-muted:   #9ca3af;
  --danger:       #ef4444;
  --success:      #10b981;
  
  --radius:       8px;
  --radius-md:    12px;
  --font-sans:    'Inter', sans-serif;
  --transition:   .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* --- Formulários Auth --- */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* Background Blur Effects */
.auth-wrapper::before {
  content: ''; position: absolute; top: -10%; left: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: var(--primary); opacity: 0.15; filter: blur(100px);
}
.auth-wrapper::after {
  content: ''; position: absolute; bottom: -10%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: var(--accent); opacity: 0.1; filter: blur(100px);
}

.auth-card {
  width: 100%; max-width: 400px;
  background: rgba(19, 25, 41, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.auth-logo { text-align: center; margin-bottom: 24px; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px;}
.auth-logo .icon { font-size: 28px; filter: drop-shadow(0 0 10px var(--primary)); }
.auth-title { text-align: center; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.auth-subtitle { text-align: center; font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 14px;
  background: rgba(10, 14, 26, 0.6);
  border: 1px solid var(--border);
  color: var(--text); border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 14px;
  transition: all var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.25); background: var(--bg); }
.form-error { display: block; font-size: 12px; color: var(--danger); margin-top: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 12px 16px;
  border-radius: var(--radius); border: none;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 0 15px rgba(99,102,241,0.4); }

.auth-links { margin-top: 24px; text-align: center; font-size: 14px; color: var(--text-muted); }
.auth-links a { color: var(--primary); font-weight: 500; }
.auth-links a:hover { text-decoration: underline; }

.alert { border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 8px;}
.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid var(--danger); color: #fca5a5; }
.alert-success { background: rgba(16, 185, 129, 0.1); border: 1px solid var(--success); color: #6ee7b7; }
