@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --white: #FFFFFF;
  --bg-soft: #F9FAFB;
  --blue: #0EA5E9;
  --purple-light: #8E5DF1;
  --purple-dark: #4338CA;
  --purple-pop: #C818EB;
  --black: #0A0A0A;
  --gray-text: #6B7280;
  --gray-border: #E5E7EB;
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--black); line-height: 1.6; background: var(--bg-soft); }
h1, h2, h3, h4, h5, h6 { font-family: 'Bricolage Grotesque', sans-serif; }
a { text-decoration: none; color: var(--blue); transition: all 0.2s ease; }
a:hover { opacity: 0.8; }

/* Buttons */
.btn { display: inline-block; text-align: center; cursor: pointer; transition: all 0.2s ease; border: none; font-family: 'Inter', sans-serif; width: 100%; }
.btn-primary { background: var(--blue); color: var(--white); border-radius: 8px; padding: 12px 24px; font-weight: 500; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-secondary { background: var(--white); color: var(--blue); border: 1.5px solid var(--blue); border-radius: 8px; padding: 12px 24px; font-weight: 500; }
.btn-secondary:hover { background: var(--bg-soft); }
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--gray-border); border-radius: 16px; padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

/* Forms */
.form-group { margin-bottom: 20px; text-align: left; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 8px; color: var(--black); }
.form-input { width: 100%; padding: 12px 16px; border: 1px solid var(--gray-border); border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 1rem; transition: border-color 0.2s ease; }
.form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); }
.form-input.error { border-color: var(--error); }

.password-wrapper { position: relative; }
.password-toggle { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--gray-text); cursor: pointer; font-size: 0.875rem; font-weight: 500; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 0.875rem; display: none; }
.alert.error { background: rgba(239, 68, 68, 0.1); color: var(--error); border: 1px solid rgba(239, 68, 68, 0.2); display: block; }
.alert.success { background: rgba(16, 185, 129, 0.1); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); display: block; }

/* Auth Layout */
.auth-container { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.auth-logo { height: 32px; margin-bottom: 32px; }
.auth-card { width: 100%; max-width: 440px; text-align: center; }
.auth-card h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 24px; }
.auth-footer { margin-top: 24px; font-size: 0.875rem; color: var(--gray-text); }

/* Responsive */
@media (max-width: 768px) {
  .card { padding: 24px; }
}
@media (max-width: 480px) {
  .card { padding: 20px; }
  .auth-container { padding: 16px; }
  .auth-card h1 { font-size: 1.5rem; }
}
