/* Shared auth pages: login, set-first-password, reset-password */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #E7E3E0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  width: 60%;
  border-radius: 2rem;
  margin-top: 3rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.split {
  flex: 1;
  overflow: hidden;
  height: 100%;
}

.left {
  background-color: #20253a;
  display: flex;
  flex-direction: column;
}

.right {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form {
  padding: 24px;
  border-radius: 8px;
  width: 80%;
}

.login-form h2 {
  font-size: 1.4rem;
  margin: 0 0 18px 0;
  color: #20253a;
}

.app-name-block { margin-bottom: 20px; text-align: center; }

.app-name-block .app-name {
  font-family: 'Archivo Black', Arial, sans-serif;
  font-size: 1.3rem;
  color: #20253a;
  line-height: 1.2;
  margin: 0 0 12px 0;
}

.app-name-block .divider {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
}

.app-name-block .tagline-logo {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto 12px;
  border-radius: 6px;
}

.app-name-block .app-tagline {
  font-size: 12px;
  color: #666;
  margin: 0 0 12px 0;
}

.app-name-block .app-tagline .accent {
  font-weight: 800;
  color: #16C851;
}

.form-group { margin-bottom: 15px; }

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

input[type="email"],
input[type="password"],
.form-control {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

input:focus, .form-control:focus {
  outline: none;
  border-color: #05545a;
  box-shadow: 0 0 0 2px rgba(5, 84, 90, .15);
}

button[type="submit"],
button#btn-continue {
  width: 100%;
  padding: 10px;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #e600a0;
  font-size: 15px;
  transition: background-color 0.2s;
  box-sizing: border-box;
}

button[type="submit"]:hover,
button#btn-continue:hover { background-color: #c40087; }

.hint-text { font-size: 13px; color: #666; margin-bottom: 16px; }

.reset-link { font-size: 13px; }
.reset-link a { color: #20253a; }

.divider-or {
  display: flex;
  align-items: center;
  text-align: center;
  color: #999;
  font-size: 12px;
  margin: 16px 0;
}

.divider-or::before,
.divider-or::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e0e0e0;
}

.divider-or:not(:empty)::before { margin-right: .75em; }
.divider-or:not(:empty)::after { margin-left: .75em; }

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px;
  color: #fff;
  background-color: #4285f4;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  gap: 10px;
  box-sizing: border-box;
  transition: background-color 0.2s;
}

.google-btn img { height: 20px; width: 20px; }
.google-btn:hover { background-color: #3367d6; }

.svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 2rem;
}

.svg-container img {
  max-width: 100%;
  max-height: 100%;
}

.brand-logo {
  width: 85%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.error-msg {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #de0a26;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
  z-index: 9999;
  text-align: center;
  font-size: 14px;
}

.success-msg {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #16C851;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
  z-index: 9999;
  text-align: center;
  font-size: 14px;
}

#strength-bar { height: 4px; border-radius: 2px; margin-top: 6px; background: #eee; transition: background .3s; }
.rules { font-size: 12px; color: #888; margin-top: 5px; list-style: none; padding: 0; }
.rules li::before { content: '\2022  '; }

@media (max-width: 768px) {
  .container { width: 95%; height: auto; flex-direction: column; margin-top: 1rem; border-radius: 1rem; }
  .split { height: auto; }
  .left { padding: 24px 0; min-height: 120px; }
  .login-form { width: 90%; }
}
