/* Ported from Portal-Frontend LoginPage.vue (Quasar → plain HTML) */

.login-page {
  padding: 0;
  min-height: 100vh;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body { margin: 0; }

.login-shell {
  display: flex;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
    linear-gradient(135deg, #1c4a30 0%, #2c7a49 45%, #4fbd6f 100%);
  position: relative;
  overflow: hidden;
}

.brand-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px 48px;
  color: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.dot-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 500px; height: 500px;
  top: -100px; left: -80px;
  background: rgba(255, 255, 255, 0.07);
}
.blob-2 {
  width: 350px; height: 350px;
  bottom: -80px; left: 200px;
  background: rgba(255, 255, 255, 0.05);
}

.brand-content {
  max-width: 420px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}
.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 24px;
}
.brand-tagline {
  font-size: 15px;
  opacity: 0.65;
  letter-spacing: 0.02em;
  margin-top: 8px;
}

.form-panel {
  width: 440px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 36px 40px 0;
  margin-left: -50px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.login-card {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  padding: 8px;
  box-sizing: border-box;
}

.card-section-top { padding: 44px 40px 20px; }
.card-section-bottom { padding: 0 40px 36px; }

.welcome-title {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.welcome-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}

.login-error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.4;
  margin-top: 16px;
}

.google-wrapper {
  position: relative;
  min-height: 44px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  width: 100%;
}
.google-wrapper > div,
.google-wrapper > div > div,
.google-wrapper iframe { width: 100% !important; }

.divider-row,
.field-group,
.sign-in-btn { display: none !important; }
.divider-line { flex: 1; height: 1px; background: #f1f5f9; }
.divider-text { color: #cbd5e1; font-size: 12px; white-space: nowrap; }

.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #475569;
  margin-bottom: 6px;
}

.field-input {
  height: 44px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 0 14px;
  font-size: 14px;
  color: #111111;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field-input:focus {
  border-color: #2c7a49;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(44, 122, 73, 0.1);
  outline: none;
}
.field-group + .field-group { margin-top: 20px; }

.sign-in-btn {
  background: linear-gradient(135deg, #1a4d2e, #2c7a49);
  color: #ffffff;
  height: 46px;
  width: 100%;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(26, 77, 46, 0.35);
  cursor: pointer;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sign-in-btn:hover { opacity: 0.92; }

.incognito-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: #94a3b8;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.5;
  margin-top: 16px;
}

@media (max-width: 599px) {
  .login-shell { flex-direction: column; }
  .brand-panel, .form-panel {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .brand-panel, .dot-grid, .blob { display: none; }
}
