* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Poppins', sans-serif;
     background: url('../images/bg.jpg') no-repeat center center/cover;
     display: flex;
     justify-content: center;
     align-items: center;
     height: 100vh;
     overflow: hidden;
     position: relative;
 }

 body::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg,
             rgba(247, 148, 29, 0.3),
             rgba(112, 112, 112, 0.2));
     backdrop-filter: blur(6px);
     z-index: 0;
 }

 .login-container {
     background-color: rgba(255, 255, 255, 0.95);
     padding: 40px 30px;
     border-radius: 12px;
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
     width: 100%;
     max-width: 400px;
     text-align: center;
     animation: fadeIn 1s ease forwards;
     opacity: 0;
     z-index: 1;
     position: relative;
 }

 .logo {
     width: 80px;
     margin-bottom: 20px;
     animation: slideDown 1s ease forwards;
 }

 h2 {
     margin-bottom: 20px;
     color: #efa628;
 }

 .form-floating {
     position: relative;
     margin-bottom: 20px;
     text-align: left;
 }

 .form-floating input {
     width: 100%;
     padding: 16px 12px 16px 12px;
     border: 1px solid #ddd;
     border-radius: 8px;
     font-size: 16px;
     background: none;
     outline: none;
     animation: slideIn 0.6s forwards;
     opacity: 0;
     transform: translateX(-20px);
 }

 .form-floating label {
     position: absolute;
     top: 50%;
     left: 12px;
     transform: translateY(-50%);
     background-color: rgba(255, 255, 255, 0.95);
     padding: 0 5px;
     color: #999;
     pointer-events: none;
     transition: all 0.2s ease;
 }

 .form-floating input:focus+label,
 .form-floating input:not(:placeholder-shown)+label {
     top: 6px;
     font-size: 12px !important;
     color: #efa628;
 }

 .form-floating input[type="text"] {
     animation-delay: 0.5s;
 }

 .form-floating input[type="password"] {
     animation-delay: 0.7s;
 }

 .forgot-password {
     text-align: right;
     font-size: 14px;
     margin-top: -10px;
     margin-bottom: 20px;
 }

 .forgot-password a {
     text-decoration: none;
     color: #efa628;
 }

 .btn {
     background-color: #efa628;
     color: white;
     border: none;
     padding: 12px 20px;
     font-size: 16px;
     border-radius: 8px;
     cursor: pointer;
     width: 100%;
     transition: transform 0.2s ease, background-color 0.3s ease;
     animation: slideIn 0.6s forwards;
     animation-delay: 0.9s;
     opacity: 0;
     transform: translateX(-20px);
 }

 .btn:hover {
     background-color: white;
     transform: scale(1.05);
     color: #efa628;
     border: 0.8px solid #efa628;
 }

 .footer {
     margin-top: 20px;
     font-size: 14px;
     color: #666;
     opacity: 0;
     animation: fadeIn 1.5s ease forwards;
     animation-delay: 1.2s;
 }

.toggle-password {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      font-size: 14px;
      color: #888;
  }

  .form-floating {
      position: relative;
  }

 .error-message {
     color: red;
     padding: 10px 15px;
     border-radius: 5px;
     text-align: center;
     font-size: 14px;
     margin-bottom: 15px;
     animation: fadeOut 0.5s ease-out 2.5s forwards;
 }

 @keyframes fadeOut {
     to {
         opacity: 0;
         
         transform: translateY(-10px);
         visibility: hidden;
     }
 }

 @keyframes fadeIn {
     to {
         opacity: 1;
     }
 }

 @keyframes slideDown {
     from {
         transform: translateY(-30px);
         opacity: 0;
     }

     to {
         transform: translateY(0);
         opacity: 1;
     }
 }

 @keyframes slideIn {
     to {
         transform: translateX(0);
         opacity: 1;
     }
 }

 @media (max-width: 500px) {
     .login-container {
         padding: 25px 20px;
     }
 }