@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .main-quote, .sub-quote, .quote-label {
    text-shadow: 1px 1px 5px black;
  }

  body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
  }
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('../images/login_background.jpg') center/cover no-repeat;
    
    z-index: -1;
    opacity: 1; 
  }
  
  .container {
    display: flex;
    width: 80%;
    margin: 50px;
    gap: 0;
    box-shadow: 1px 1px 10px black;
    border-radius: 30px;
  }
  
  
  .left-panel {
    width: 50%;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 0 15px #F8F7FA;
    border-radius: 30px 0 0 30px;
  }
  
  .quote-box {
    font-family: "Lora", serif;
    padding: 40px;
    text-align: left;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .quote-label {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 500;
  }
  .main-quote {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .sub-quote {
    font-size: 14px;
    line-height: 1.6;
    max-width: 350px;
    font-weight: 500;
  }
  
  
  .right-panel {
    width: 50%;
    background: #F8F7FA;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 30px 30px 0;
    padding-right: 20px;
    margin-left: -1px;
    flex-direction: column;
  }
  
  form {
    width:100%;
    max-width: 450px;
  }

  .form-box {
    width: 100%;
    max-width: 450px;
    text-align: left;
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  
  
.logo {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1E1C2B;
  width: 100%;           
  max-width: 300px;      
  gap: 15px;             
  margin-left: auto;     
  margin-right: auto;
}


.logo > img:not(.info-icon) {
  width: auto;           
  height: auto;
  max-width: 200px;      
  max-height: 80px;      
  object-fit: contain;
}


.info-icon {
  height: 24px !important; 
  width: 24px !important;  
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  flex-shrink: 0;          
}

.info-icon:hover {
  opacity: 1;
}

.info-icon {
  height: 24px; 
  width: 24px;  
  cursor: pointer;
  margin-left: 10px; 
  flex-shrink: 0;    
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.info-icon:hover {
  opacity: 1;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 10000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.5); 
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; 
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #888;
  width: 90%; 
  max-width: 400px; 
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  animation: slideIn 0.3s;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-body p {
  margin-bottom: 10px;
  color: #1E1C2B;
  font-size: 14px;
}

.modal-content h3 {
  margin-bottom: 15px;
  color: #1E1C2B;
}


@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideIn {
  from {transform: translateY(-20px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
  
  .welcome-text {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    font-weight: 650;
    margin-bottom: 10px;
    color: #1E1C2B;
    text-align: center;
  }
  
  .instruction {
    font-size: 14px;
    color: #6E6D7A;
    margin-bottom: 30px;
  }
  
  
  .role-toggle {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .toggle-label {
    font-size: 18px;
    font-weight: 600;
    color: #1E1C2B;
    margin-right: 10px;
  }
  
  .toggle-buttons {
    display: flex;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    margin-left: 20px;
  }
  
  .toggle-btn {
    padding: 8px 20px;
    font-family: "Poppins", serif;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    background-color: white;
    color: #1E1C2B;
    transition: all 0.3s ease;
    border-radius: 0;
  }
  
  .toggle-btn.active {
    background-color: #1E1C2B;
    color: white;
  }  
  
  .toggle-btn:not(:last-child) {
    border-right: 1px solid #ccc;
  }
  
  .toggle-btn:focus {
    outline: none;
  }
  
  form label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 16px;
    color: #6E6D7A;
    padding-right: 200px;
  }
  
  input[type="text"],
  input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-shadow: inset 5px 5px 13px #9d9d9d28,
            inset -5px -5px 13px #ffffff;
    font-size: 14px;
    color: #6E6D7A;
  }
  
  .password-wrapper {
    position: relative;
  }
  
  .options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }
  
  .options label {
    font-size: 13px;
    color: #6E6D7A;
  }
  
  
  .forgot-link {
    font-size: 13px;
    color: #7D42C2;
    font-weight: 500;
    text-decoration: none;
  }
  
  .forgot-link:hover {
    text-decoration: underline;
  }
  
  
  .btn-primary {
    width: 100%;
    background: #1E1C2B;
    color: white;
    padding: 12px;
    font-size: 15px;
    border: none;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow:  5px 5px 13px #9d9d9d, -5px -5px 13px #ffffff;
  }
  
  .btn-primary:hover {
    background-color: white;
    color: #1E1C2B;

  }
  
  .signup-link {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    color: #6E6D7A;
  }
  
  .signup-link a {
    color: #7D42C2;
    text-decoration: none;
    font-weight: 500;
  }
  
  .signup-link a:hover {
    text-decoration: underline;
  }
  
  
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      gap: 10px;
      min-width: 300px;
      box-shadow: none;
      
    }
  
    .left-panel,
    .right-panel {
      flex: none;
      width: 100%;
      border-radius: 30px;
    }
  
    .left-panel {
      height: 40vh;
    }
  
    .right-panel {
      height: 90vh;
      padding: 20px;
      justify-content: flex-start;
      border-radius: 30px;
    }
  
    .form-box {
      max-width: 100%;
    }
    .quote-box{
      border-radius: 30px;
    }
    .main-quote {
      font-size: 32px;
    }
  
    .role-toggle {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  
    .toggle-label {
      margin-bottom: 4px;
    }
}

#statusMessage{
    color: red;
}

:root{
  --toast-red: rgba(255, 0, 0,0.6);
  --toast-green: rgba(0, 255, 0,0.6);
}

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 120px;
  padding: 16px 20px;
  border-radius: 12px;
  min-width: 280px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateX(20px);
  opacity: 0;
  transition: all 0.4s ease;
  color: white;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.glass { 
  background: rgba(255, 0, 0,0.6);
  
}
.toast-title {
  font-weight: bold;
  margin-bottom: 4px;
}

.toast-content {
  flex: 1;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: inherit;
  cursor: pointer;
}

.toast-success{
  background-color: var(--toast-green);
}
.toast-success{
  background-color: var(--toast-red);
}

@media (max-width: 425px) {
  .toast {
    gap: 80px;
  }
}

.btn-secondary {
    width: 100%;
    background: transparent;
    color: #1E1C2B;
    padding: 12px;
    font-size: 15px;
    border: 2px solid #1E1C2B; 
    border-radius: 10px;
    margin-top: 15px; 
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #1E1C2B;
    color: white;
    box-shadow: 5px 5px 13px #9d9d9d, -5px -5px 13px #ffffff;
}