/* signin.css */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  min-height: 100vh;

  background-image: url('/images/wallpapers/sky-and-grass.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  backdrop-filter: blur(8px);
}

img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

header {
  background-color: #990000;
  color: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 4px solid #000000;
}

.branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: 10px;
}

.branding img.logo {
  height: 120px;
  width: auto;
  margin-bottom: 0.1rem;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .branding img.logo {
    height: 90px;
  }
}

.title-group h1 {
  font-family: 'Cambria', serif;
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
}

.title-group .tagline {
  font-family: 'Segoe Script', cursive;
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: #f3f6f4;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-buttons a {
  background-color: #bf9000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-buttons a:hover {
  background-color: #25626f;
  color: #fff;
}

.nav-buttons a.active {
  background-color: #25626f;
  color: #fff;
}

/* Form Styling */

main {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

main h2 {
  text-align: center;
  color: #990000;
  margin-bottom: 1.5rem;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

form input[type="text"],
form input[type="password"],
form input[type="email"] {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

form button {
  width: 100%;
  padding: 0.75rem;
  background-color: #990000;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #7a0000;
}

/* Google Sign In Button */

.google-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: #4285F4;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.google-btn:hover {
  background-color: #3367D6;
}

.google-signin img {
  width: 65px;
  height: 20px;
  margin-left: 8px;
  vertical-align: middle;
}

.or-divider {
  text-align: center;
  margin: 1.5rem 0;
  font-weight: bold;
  color: #666;
}

/* Forgot Password Link */

.forgot-password {
  text-align: right;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.forgot-password a {
  font-size: 0.95rem;
  color: #25626f;
  text-decoration: none;
  font-weight: 500;
}

.forgot-password a:hover {
  text-decoration: underline;
}

/* Responsive Design */

@media (max-width: 600px) {
  main {
    margin: 1rem;
    padding: 1.5rem;
  }
}

/* Footer */

footer {
  text-align: center;
  padding: 1rem;
  background-color: #333;
  color: white;
}
