/* Authentication Pages Styles - Mobile Responsive */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #273B4A;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header for Auth Pages */
.auth-header-nav {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  margin-bottom: 2rem;
  align-items: center;
}

.auth-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.logo-placeholder {
  width: 50px;
  height: 50px;
  background: #f0f0f0;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #666;
  text-align: center;
}

.auth-nav-brand h1 {
  color: #0A2443;
  font-size: 1.5rem;
  font-weight: bold;
}

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

.auth-nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s;
}

.auth-nav-links a:hover {
  background: #f8f9fa;
  color: #8c2525;
}

.auth-nav-links .btn-home {
  background: linear-gradient(135deg, #a62d2d, #8c2525);
  color: white;
}

.auth-nav-links .btn-home:hover {
  transform: translateY(-2px);
}

.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  background: #242D3D;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  width: 100%;
  max-width: 500px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  color: white;
  font-size: 2rem;
}

.auth-header h2 {
  color: #D9D9D9;
  font-size: 12px;
  margin-bottom: 0.5rem;
  font-style: italic;
  text-align: center;
}

.auth-header p {
  color: #666;
  font-size: 1rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-size: 14px;
  color: #D9D9D9;
}

.form-group input,
.form-group select {
  padding: 5px;
  border: 1px solid #D9D9D9;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s;
  max-width: 400px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #8c2525;
}

.password-input {
  position: relative;
  display: flex;
}

.password-input input {
  flex: 1;
}

.show-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #8c2525;
  cursor: pointer;
  font-size: 12px;
}

.forgot-password {
  text-align: right;          
  color: #a62d2d;
  font-size: 12px;
}

.btn-submit {
  background: linear-gradient(135deg, #a62d2d, #8c2525);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: transform 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

.auth-links {
  text-align: center;
  margin-top: 1rem;
}

.auth-links a {
  color: green;
  text-decoration: none;
  font-weight: 500;
  font-family: "roboto";

}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-links p {
  margin: 0.5rem 0;
  color: #666;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .auth-navbar {
    align-items: center;
  }

  .auth-nav-brand h1 {
    font-size: 1.2rem;
  }

  .logo-placeholder {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }

  .auth-nav-links {
    gap: 0.5rem;
  }

  .auth-nav-links a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .auth-container {
    padding: 1rem;
  }

  .auth-card {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .auth-header h1 {
    font-size: 1.5rem;
  }

  .auth-header h2 {
    font-size: 1.2rem;
  }
.forgot-password {
  text-align: right;
  color: #a62d2d;
  font-size: 12px;
}

}

@media (max-width: 480px) {
  .auth-navbar {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .auth-nav-links {
    width: 100%;
    justify-content: center;
  }

  .auth-card {
    padding: 1.5rem;
  }

  .auth-header h1 {
    font-size: 1.3rem;
  }

  .auth-header h2 {
    font-size: 12px;
  }
.forgot-password {
  text-align: right;
  color: #a62d2d;
  font-size: 12px;
}

}
