/* Layout */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Inter", system-ui, sans-serif;
  color: #111;
}


.page {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* LEFT PANEL */
.left {
  flex: 1;
  background: url("/static/images/uvahome.jpg") center/cover no-repeat;
  position: relative;
}

.left-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 80, 0.65); /* UVA dark blue tint */
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 60px;
  color: white;
}

.text-block {
  max-width: 400px;
}

.text-block h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.text-block p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* RIGHT PANEL */
.right {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.form-box {
  width: 100%;
  max-width: 360px;
}

.form-box h2 {
  font-size: 1.8rem;
  color: #1e3a8a;
  margin-bottom: 0.25rem;
}

.subtitle {
  color: #6b7280;
  margin-bottom: 24px;
}

.subtitle span {
  color: #f97316; /* UVA orange */
}

/* Inputs */
.input-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.input-field label {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 6px;
}

.input-field input {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.input-field input:focus {
  outline: none;
  border-color: #2563eb;
}

/* Extras */
.extras {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.extras a {
  color: #2563eb;
  text-decoration: none;
}

.extras a:hover {
  text-decoration: underline;
}

/* Button */
.login-btn {
  width: 100%;
  background: #2563eb;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.login-btn:hover {
  background: #1e40af;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 24px 0;
}

.divider::before, .divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e5e7eb;
}

.divider::before {
  margin-right: 0.75em;
}
.divider::after {
  margin-left: 0.75em;
}

/* Google Button */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 16px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.google-btn:hover {
  background: #f9fafb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* FIX: Google icon sizing */
.google-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}