* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {

  min-height: 100vh;
  display: flex;
  background-color: gray;
  flex-direction: column;
  color: #fff;
  animation: fadeIn 1s ease-in;
}

/*header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #112;
  padding: 1rem 2rem;
}

header h1 {
  font-size: 1.5rem;
  font-weight: bold;
}*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #112;
  padding: 1rem 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.logo {
  height: 40px;
  margin-right: 10px;
}

/*.top-login-btn {
  background: #123b6e;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}
.top-login-btn:hover {
  background-color: rgb(200, 230, 241);
  color: #06090b;
}*/
.top-login-text {
  font-size: 14px;
  color: #ffffff;
  padding: 0.5rem 1rem;
  margin: 0;
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s ease;
}

.top-login-text:hover {
  color: #72c9f5;
}

.login-container {
  background-color: rgba(0, 0, 0, 0.6);
  max-width: 400px;
  margin: auto;
  padding: 2rem;
  border-radius: 10px;
  margin-top: 3rem;
  text-align: center;
}

.login-container h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.login-container p {
  margin-bottom: 1rem;
}

.role-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.role-btn {
  flex: 1;
  margin: 0 0.3rem;
  background: #123b6e;
  border: none;
  color: white;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}
.role-btn:hover {
  background-color: rgb(186, 235, 247);
  color: #0a0a0a;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  color: #ccc;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #aaa;
  margin: 0 0.5rem;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 6px;
}

.password-group {
  position: relative;
  text-align: right;
}

.password-group a {
  font-size: 0.85rem;
  color: #ccc;
  text-decoration: none;
  position: absolute;
  right: 0.5rem;
  top: 0.3rem;
}

.login-btn {
  width: 100%;
  padding: 0.75rem;
  background: #123b6e;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
}
.login-btn:hover {
  background-color: rgb(187, 220, 246);
  color: #0d0d0d;
}

.signup-text {
  margin-top: 1.5rem;
}

.signup-text a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

@media (max-width: 500px) {
  .role-buttons {
    flex-direction: column;
  }

  .role-btn {
    margin: 0.5rem 0;
  }

  .password-group a {
    top: unset;
    bottom: 0.3rem;
  }
}
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #1a1a1a;
  text-align: center;
  padding: 10px 0;
}

.social-media a {
  margin: 0 10px;
  color: #9bbdff;
  text-decoration: none;
}
.social-media:hover{
  background-color: rgb(8, 9, 9);
  color: #0d0d0d;
}
.mainlogo {
  height: 100px;
  margin: 1rem auto 10rem auto;
  display: block;
  }
.login-input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  color: #999; /* Initially faded */
  background-color: #fff;
}

.login-input:focus {
  color: #333; /* Normal text color when user starts interacting */
}

.login-input option {
  color: #333; /* Normal option text */
}

.login-label {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 500;
  color: #fff;
}

.form-group {
  width: 100%;
}
/* Faded look for the placeholder option */

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  background-color: #fff; /* Matches login button */
  color: black;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}