body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

.login-container {
  display: flex;
  height: 100vh;
}

.left-panel {
  background: linear-gradient(to bottom right, #003366, #0059b3);
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.left-panel .logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #190d87;
  padding: 10px;
  margin-bottom: 20px;
}

.left-panel h2 {
  font-size: 32px;
  font-weight: bold;
}

.right-panel {
  flex: 1;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-form {
  width: 100%;
  max-width: 350px;
  text-align: center;
}

.login-form input {
  width: 100%;
  padding: 12px;
  margin: 15px 0;
  border: 2px solid #003366;
  border-radius: 8px;
  font-size: 16px;
}

.login-form button {
  width: 100%;
  padding: 12px;
  background: #0059b3;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.login-form button:hover {
  background: #003366;
}

.note {
  margin-top: 15px;
  font-size: 13px;
  color: #003366;
}


.dashboard-container {
  display: flex;
  height: 100vh;
  font-family: 'Segoe UI', sans-serif;
}


.logo {
  width: 500px;
  height: 200px;
  border-radius: 50%;
  background: white;
  padding: 15px;
  border: 3px solid red;
}

.right-panel {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 300px;
  text-align: center;
}



.footer-note {
  margin-top: 50px;
  font-size: 13px;
  color: #003366;
  font-weight: bold;
}





.left-panel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: 2;
}

.content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
}


@media screen and (max-width: 768px) {
  .login-container,
  .dashboard-container {
    flex-direction: column;
    height: auto;
  }

  .left-panel,
  .right-panel {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .left-panel .logo,
  .logo {
    width: 100px;
    height: 100px;
    padding: 8px;
  }

  .left-panel h2 {
    font-size: 24px;
  }

  .login-form {
    padding: 10px;
  }

  .btn-group {
    gap: 15px;
  }

  .dashboard-btn {
    font-size: 14px;
    padding: 12px;
  }

  .footer-note {
    margin-top: 30px;
    font-size: 12px;
  }

  .bg-video {
    height: 100%;
    object-fit: cover;
  }

  .overlay {
    background: rgba(0, 0, 0, 0.7);
  }

  .content h2 {
    font-size: 22px;
  }
}





.modern-form {
  background: #1c1c1e;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  margin: auto;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  color: #fff;
}

.input-group {
  display: flex;
  align-items: center;
  background: #2c2c2e;
  margin-bottom: 1rem;
  border-radius: 8px;
  padding: 0.75rem;
  gap: 10px;
  color: #aaa;
}

.input-group i {
  font-size: 1.1rem;
}

.input-group input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  flex: 1;
  font-size: 1rem;
}

.login-btn {
  width: 100%;
  padding: 0.8rem;
  background: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.login-btn i {
  margin-right: 8px;
}

.login-btn:hover {
  background: #0056b3;
}

.note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #ccc;
  text-align: center;
}



/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1c1c1e;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
  flex-direction: column;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 80px;
  margin-bottom: 15px;
}

.loader-text {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  font-family: sans-serif;
}



<style>
  .alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    z-index: 999;
    opacity: 1;
    transition: opacity 1s ease-in-out;
  }
  .alert.success {
    background-color: #d4edda;
    color: #155724;
  }
  .alert.error {
    background-color: #f8d7da;
    color: #721c24;
  }

.logo {
  width: 100px; /* adjust as needed */
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}


.logo:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
}





.dashboard-btn {
  display: inline-block;
  background: #190d87;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, transform 0.3s;
}

.dashboard-btn:hover {
  background: red;
  transform: translateY(-2px);
}

.animated-icon {
  margin-right: 10px;
  animation: pulseIcon 1.8s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}



.submit-btn {
  background-color: #190d87;
  color: white;
 
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;  
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.2s;
  align-items: center;
  gap: 10px;
}






.submit-btn i {
  animation: floatIcon 2.5s ease-in-out infinite;
}

.submit-btn:hover {
  background-color: red;
  transform: translateY(-2px);
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}




<style>
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  background-color: #333;
  color: white;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: slideInRight 0.5s ease, fadeOut 0.5s ease 5s forwards;
  position: relative;
  min-width: 250px;
}

.toast.success { background-color: #2ecc71; }
.toast.error   { background-color: #e74c3c; }

.toast .close {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 20px;
  cursor: pointer;
  color: white;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateX(100%); }
}
</style>



</style>
