/* signin.css — Page-specific styles for the sign-in page */

/* Override container to narrow width for auth form */
.container {
  max-width: 480px;
  width: 100%;
}

/* Center nav (no hamburger/links on this page) */
nav {
  justify-content: center;
}

/* Full-page background image */
body {
  background: url('../images/vfxdaddy1m2.jpg') center center / cover no-repeat fixed;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.auth-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

h1 {
  font-size: 2.1rem;
  margin-bottom: 8px;
  text-align: center;
}

.subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #444;
}

input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: #1d3557;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.btn {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  padding: 14px;
  background: #1d3557;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 12px;
}

.btn:hover {
  background: #15293e;
}

.alt-link {
  text-align: center;
  margin-top: 24px;
  color: #555;
}

.alt-link a {
  color: #1d3557;
  font-weight: 600;
  text-decoration: none;
}

.alt-link a:hover {
  text-decoration: underline;
}

.forgot-password {
  text-align: right;
  margin-bottom: 16px;
}

.forgot-password a {
  color: #1d3557;
  font-size: 0.95rem;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* Password toggle */
.password-input-wrapper {
  position: relative;
}
.password-input-wrapper input {
  padding-right: 48px;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
}
.password-toggle:hover {
  color: #444;
}
.eye-icon {
  width: 20px;
  height: 20px;
}
.eye-icon.hidden {
  display: none;
}

/* Footer overrides for sign-in page */
footer {
  font-size: 0.9rem;
  margin-top: auto;
}

/* Google Sign-In Button */
.btn-google {
  -webkit-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  line-height: 1.4;
}
.btn-google:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.btn-google:active {
  background: #e8eaed;
}
.btn-google:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-google img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* "or" Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 16px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dadce0;
}
.auth-divider span {
  color: #999;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Verified email message banner (hidden by default, shown via JS) */
.verified-message {
  display: none;
  background: #d0e8ee;
  border: 1px solid #277da1;
  color: #3d5a3f;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
}
