/* Global Styles */
body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f9f9f9;
}

main {
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  position: relative;
  z-index: 1;
}

header {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 30px;
  font-size: 2rem;
  font-weight: bold;
}

header .title {
  display: flex;
  align-items: center;
  justify-content: center;
}

header .subtitle {
  font-size: 0.9rem;
  color: #666;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0; 
  width: 100%;
  align-items: center;
  justify-content: flex-start;
}

#id {
    margin-top: -10px;
}

form input[type="text"] {
  margin: 0;
}

form button {
  margin-bottom: 20px;
}

button {
  display: inline-block;
  background-color: #62B22F; 
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #00a87e;
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 3px #62B22F; 
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Text Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: #62B22F; 
  outline: none;
  box-shadow: 0 0 0 3px #62B22F; 
}

/* Responsive Text Input */
@media (min-width: 600px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea {
    max-width: 400px;
  }
}

a {
  color: #62B22F;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

body.login::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/login.png") no-repeat center center fixed;
  background-size: cover;
  opacity: 0.5;
  z-index: -1;
}

body.leaders-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/leaders-login.png") no-repeat center center fixed;
  background-size: cover;
  opacity: 0.5;
  z-index: -1;
}

