/* ============================================================
   BuddieSpace — Login Page
   Figma: wpkxELWVlzeoRjthUL7RQ4  node 55:1313
   ============================================================ */

.bs-login {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 6.94vw, 100px) clamp(24px, 6.67vw, 96px);
  box-sizing: border-box;
}

/* ─── Card ─────────────────────────────────────────────────── */

.bs-login__card {
  width: 100%;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 2.92vw, 42px);
}

/* ─── Title ─────────────────────────────────────────────────── */

.bs-login__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.75vw, 54px);
  color: #21254a;
  text-align: center;
  margin: 0;
  line-height: 1.3;
  width: 100%;
}

/* ─── Notices ───────────────────────────────────────────────── */

.bs-login__notice {
  width: 100%;
  background: #b0f288;
  color: #21254a;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}

.bs-login__error {
  width: 100%;
  background: #fff0f0;
  color: #c0392b;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  border: 1px solid #f5c6cb;
  box-sizing: border-box;
}

/* ─── Fields ─────────────────────────────────────────────────── */

.bs-login__card form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bs-login__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.bs-login__label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.39vw, 20px);
  color: #404040;
  line-height: 1.55;
  white-space: nowrap;
}

.bs-login__input {
  width: 100%;
  height: 56px;
  padding: 0 clamp(16px, 2.59vw, 37px);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.39vw, 20px);
  color: #21254a;
  background: #ffffff;
  border: 1px solid rgba(33, 37, 74, 0.2);
  border-radius: 8px;
  outline: none;
  box-shadow: 0px 2.666px 5.331px 0px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.bs-login__input:focus {
  border-color: #21254a;
}

.bs-login__input::placeholder {
  color: #9ca3af;
}

/* ─── Remember Me ───────────────────────────────────────────── */

.bs-login__remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bs-login__checkbox {
  width: 16px;
  height: 16px;
  accent-color: #21254a;
  flex-shrink: 0;
  cursor: pointer;
}

.bs-login__remember-label {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.11vw, 16px);
  color: #21254a;
  cursor: pointer;
}

/* ─── Submit Button ─────────────────────────────────────────── */

.bs-login__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.39vw, 20px);
  color: #000000;
  background: #59acf8;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  line-height: normal;
  white-space: nowrap;
  transition: background 0.2s;
}

.bs-login__submit:hover {
  background: #3d9ae8;
}

/* ─── Divider ────────────────────────────────────────────────── */

.bs-login__divider {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 740px;
}

.bs-login__divider::before,
.bs-login__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #21254a;
}

.bs-login__divider span {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000000;
  line-height: 1;
}

/* ─── Google Button ─────────────────────────────────────────── */

.bs-login__google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(16px, 1.39vw, 20px);
  color: #21254a;
  background: #ffffff;
  border: 1px solid #21254a;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.bs-login__google-btn:hover {
  background: #f5f6ff;
}

.bs-login__google-btn svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* ─── Forgot Password ───────────────────────────────────────── */

.bs-login__forgot {
  display: block;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.11vw, 16px);
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.bs-login__forgot:hover {
  color: #21254a;
  text-decoration: underline;
}

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .bs-login__card {
    max-width: 600px;
  }
}

@media (max-width: 599px) {
  .bs-login {
    padding: 48px 24px;
    align-items: flex-start;
  }

  .bs-login__card {
    gap: 24px;
  }

  .bs-login__submit,
  .bs-login__google-btn {
    width: 100%;
  }
}
