/* =============================================================
   SwiftReview — Sign In
   Designer: edit this file to change styles for the sign-in page
   Variables (colours, fonts) are in :root at the top.
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Figtree', sans-serif;
  background: #f5f7f6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.10);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}

/* Header */
.card-header {
  background: #fff;
  padding: 36px 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e8e8e8;
}
.logo-img {
  height: 32px;
  width: auto;
}
.tagline {
  font-size: 13px;
  color: #888;
  text-align: center;
  line-height: 1.5;
}

/* Body */
.card-body {
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.welcome-text {
  text-align: center;
}
.welcome-text h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 6px;
}
.welcome-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Error banner */
.error-banner {
  background: #fff0f0;
  border: 1.5px solid #fca5a5;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: #b91c1c;
  line-height: 1.5;
  display: none;
}
.error-banner.show { display: block; }

/* Sign-in button */
.signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 15px 24px;
  background: #1A1A2E;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.signin-btn:hover { background: #0FBDA1; }
.signin-btn:active { transform: scale(0.98); }
.signin-btn svg { flex-shrink: 0; }

/* Divider */
.or-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.or-line { flex: 1; border: none; border-top: 1px solid #e8e8e8; }
.or-text { font-size: 12px; color: #aaa; font-weight: 500; }

/* Info note */
.info-note {
  background: #f0fdf9;
  border-left: 3px solid #0FBDA1;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}
.info-note strong { color: #1A1A2E; }

/* Footer */
.card-footer {
  padding: 0 40px 32px;
  text-align: center;
  font-size: 12px;
  color: #aaa;
  line-height: 1.6;
}
.card-footer a { color: #0FBDA1; text-decoration: none; }
