/* Color Palette */
:root {
    --smoky-black: #140f00;
    --bite-brown: #926e1b;
    --pullman-green: #3e3211;
    --medium-jungle-green: #1b3f25;
    --cosmic-latte: #fff9eb;
  }
  
  /* Reset and Base Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Open Sans", sans-serif;
    background-color: var(--cosmic-latte);
    color: var(--smoky-black);
    line-height: 1.6;
    width: 100%;
    min-height: 100%;
  }
  h1,
  h2,
  h3 {
    font-family: "Playfair Display", serif;
  }
  
  p {
    font-family: "Open Sans", sans-serif;
  }
  
  /* Navigation */
  .navbar {
    background-color: var(--bite-brown);
    color: var(--cosmic-latte);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
  }
  
  .navbar-logo {
    display: flex;
    align-items: center;
  }
  
  .navbar-logo img {
    height: 55px;
    margin-right: 10px;
    margin-left: 10px;
  }
  
  .navbar-links a {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-evenly;
  align-self: center;
    color: var(--cosmic-latte);
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
  }
  
  .navbar-links a:hover {
    color: var(--medium-jungle-green);
  }
  
.auth-container {
  max-width: 400px;
  margin: 100px auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  align-items: center;

}
@media (max-width: 500px) {
    .auth-container {
        width: 90%;
        margin: 30px auto;
        padding: 10px;
    }
}
.auth-tabs {
  display: flex;
  margin-bottom: 20px;
}

.auth-tab {
  flex: 1;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.auth-tab.active {
  border-bottom: 2px solid #007bff;
  color: #007bff;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
}

.form-group input {
  width: 100%;
  padding: 10px 40px 10px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-group i {
  margin-right: 10px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.auth-container img{
  text-align: center;
  width: 160px;
  margin:15px 100px ;
}
.auth-btn {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.auth-btn:hover {
  background: #0056b3;
}

.forgot-password {
  text-align: right;
  margin-top: 10px;
}

.forgot-password a {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}

/* Toast Notification Styles */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
}
.toast {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.toast.success {
  background-color: #4CAF50;
}

.toast.error {
  background-color: #f44336;
}

@keyframes slideIn {
  from {
      transform: translateX(100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

@keyframes fadeOut {
  from {
      opacity: 1;
  }
  to {
      opacity: 0;
  }
}
@media screen and (max-width: 364px) {
  /* Navigation adjustments */
  .navbar {
    flex-direction: column;
    padding: 0.5rem;
  }

  .navbar-links {
    margin-top: 1rem;
  }

  .navbar-links a {
    margin: 5px;
    font-size: 0.9rem;
  }

}

i {
    margin-right: 10px;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f6fa;
}

.login-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header img {
    width: 120px;
    margin-bottom: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    padding-right: 40px;
}

.form-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.login-button {
    background-color: #4a90e2;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #357abd;
}

.error-message {
    color: #dc3545;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

