* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
  }
  
  body {
    height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
  }
  
  .background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/login-background.jpg") no-repeat center center/cover;
    filter: blur(10px);
    z-index: -2;
  }
  
  .login-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    width: 320px;
    text-align: center;
    animation: fadeIn 1s ease-out forwards;
  }
  
  .login-container h2 {
    margin-bottom: 1.5rem;
  }
  
  .login-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .login-container input {
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
  }
  
  .login-container input::placeholder {
    color: #ddd;
  }
  
  .login-container input:focus {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .login-container button {
    padding: 0.75rem;
    background: #00c6ff;
    background: linear-gradient(to right, #0072ff, #00c6ff);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .login-container button:hover {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    transform: scale(1.05);
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

  .toast {
    visibility: hidden;
    max-width: 300px;
    height: 50px;
    margin-left: -125px;
    margin-top: 30px; /* Add some space from the top */
    background-color: #ff4d4d;
    color: white;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    right: 30px; /* Positioning from the right */
    top: 30px; /* Positioning from the top */
    font-size: 17px;
    display: flex;
    justify-content: space-between; /* To align text and X button */
    align-items: center;
  }

  .toast .close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
  }

  .toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 4.5s;
  }

  @keyframes fadein {
    from {top: 0; opacity: 0;}
    to {top: 30px; opacity: 1;}
  }

  @keyframes fadeout {
    from {opacity: 1;}
    to {opacity: 0;}
  }

  /* Toast Notification CSS */
  .toast {
    visibility: hidden;
    max-width: 300px;
    height: 50px;
    margin-left: -125px;
    margin-top: 30px; /* Add some space from the top */
    background-color: #ffffff;
    color: red;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    right: 30px; /* Positioning from the right */
    top: 30px; /* Positioning from the top */
    font-size: 17px;
    display: flex;
    justify-content: space-between; /* To align text and X button */
    align-items: center;
  }

  .toast .close-btn {
    background: red;
    border: none;
    color: white;
    font-size: 17px;
    cursor: pointer;
    margin-left: 10px;
    padding:6px;
  }

  .toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 4.5s;
  }

  @keyframes fadein {
    from {top: 0; opacity: 0;}
    to {top: 30px; opacity: 1;}
  }

  @keyframes fadeout {
    from {opacity: 1;}
    to {opacity: 0;}
  }