/* Login page styles — mirrors registration.css patterns */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0ebe3;
}

.wrapper {
  position: relative;
  max-width: 700px;
  width: 100%;
  background: #fff;
  padding: 34px;
  border-radius: 6px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Welcome / site description (also in chat_box.css, duplicated here since login page doesn't load it) */
.welcome {
  font-size: x-large;
  font-family: 'Georgia', 'Times New Roman', serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(212, 175, 55, 0.3), 0 0 20px rgba(212, 175, 55, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site_description {
  color: #bd8800;
  font-family: 'Georgia', 'Times New Roman', serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), 0 0 10px #432c22, 0 0 20px #4a2c1a;
}

/* Error alert */
div#alert.error {
  color: red;
  padding: 10px;
  border: red solid 1px;
  border-radius: 4px;
  margin: 15px 0;
  background: #fff0f0;
}

/* Form container */
.form-container {
  width: 100%;
  padding: 10px 0;
}

.form-container label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

form.form-container.login-container {
    margin-top: 15px;
}

.form-container input[type=text],
.form-container input[type=password] {
  height: 52px;
  width: 100%;
  outline: none;
  padding: 0 15px;
  font-size: 17px;
  color: #333;
  border: 1.5px solid #C7BEBE;
  border-bottom-width: 2.5px;
  border-radius: 6px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-container input[type=text]:focus,
.form-container input[type=password]:focus {
  border-color: brown;
  background-color: #fff;
}

/* Login / submit button */
.form-container .btn {
  display: block;
  width: 100%;
  height: 52px;
  background: brown;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.3s ease;
}

.form-container .btn:hover {
  background: #7a1f1f;
}

/* Cancel / Continue as Guest */
.form-container .btn.cancel {
  display: block;
  width: 100%;
  height: 52px;
  background: #6c757d;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 52px;
  margin-bottom: 10px;
}

.form-container .btn.cancel:hover {
  background: #5a6268;
}

/* Google OAuth button */
.google-container {
  margin: 18px 0;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  background: #fff;
  color: #333;
  border: 1.5px solid brown;
  border-bottom-width: 2.5px;
  border-radius: 6px;
  font-size: 17px;
  cursor: pointer;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.google-btn:hover {
  background: #fdf5f0;
}

/* Links (Registration, Forgot Password) */
.form-container p {
  text-align: center;
  color: #333;
  font-size: 14px;
  margin-top: 10px;
}

.form-container p a {
  color: brown;
  text-decoration: none;
}

.form-container p a:hover {
  text-decoration: underline;
}

/* Login-container link overrides for standalone page */
.login-container a {
  color: inherit;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 600px) {
  .wrapper {
    padding: 20px;
    margin: 10px;
  }
}
