* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Outfit', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  height: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow-x: hidden;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  background: var(--main-bg);
}

.container-login {
  display: flex;
  min-height: 100vh;
  width: 100vw;
}

.login-left {
  flex: 1.5;
  background:
    url('../assets/ilustration.png') no-repeat center center,
    linear-gradient(150deg, #365df8 60%, #31c9c9 100%);
  background-size: cover, cover;
  position: relative;
  min-width: 300px;
  overflow: hidden;
  display: block;
}

.login-right {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -10px 0 40px rgba(0,0,0,0.08);
  overflow-y: auto; 
  -webkit-overflow-scrolling: touch;
  max-height: 100vh;
}


.login-card {
  width: 100%;
  max-width: 380px;
  padding: 40px 30px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  position: relative;
}

.logo {
  width: 140px;
  height: 50px;
  margin: 0 auto 18px auto;
  display: block;
  object-fit: contain;
}

.login-title {
  font-size: 1.3em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #222;
}


.login-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  background: #f6f8fc;
  border: 1px solid #e4e9f2;
  color: #333;
  border-radius: 8px;
  font-size: 1.07em;
  font-weight: 600;
  padding: 13px 16px;
  cursor: pointer;
  transition: background .18s;
  width: 100%;
  min-height: 48px;
  box-shadow: none;
  outline: none;
  margin: 0;
}


.login-btn + .login-btn {
  margin-top: 0px;
}

.login-btn img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  display: block;
}

.login-btn span {
  flex: 1;
  text-align: left;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1em;
}


.login-btn:hover, .login-btn:focus {
  background: #e6eaff;
}


.login-terms {
  font-size: 0.88em;
  color: #888;
  margin-top: 12px;
  line-height: 1.4;
  text-align: center;
}

.login-terms a {
  color: #1676ff;
  text-decoration: none;
}

.login-footer {
  margin-top: 12px;
  text-align: center;
  font-size: 0.97em;
}

.login-footer a {
  color: #1676ff;
  text-decoration: none;
}

 #lottie-1{
    width: -100px;
    height: 100px;  
  }

@media (max-width: 900px) {
  .login-left {
    display: none !important;
  }
  .login-right {
    width: 100vw;
    min-width: 0;
    box-shadow: none;
  }
  .container-login {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .login-card {
    padding: 25px 6vw;
  }
}

#notification-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .notification {
      background-color: #2c3e50;
      color: #fff;
      padding: 15px 10px;
      border-radius: 4px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      min-width: 250px;
      max-width: 300px;
      font-size: 15px;
      position: relative;
      opacity: 0;
      transform: translateX(100%);
      animation: slideInRight 0.4s ease-out forwards;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .notification.exit {
      animation: slideOutLeft 0.5s ease-in forwards;
    }

    .notification span {
      flex: 1;
      margin-right: 10px;
      word-break: break-word;
    }

    .close-btn {
      width: 30px;
      height: 30px;
      background: transparent;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .close-btn img {
      width: 20px;
      height: 20px;
      pointer-events: none;
    }

    .progress-bar {
      position: absolute;
      bottom: 0;
      left: 0;
      height: 4px;
      width: 99%;
      border-radius: 50px;
      transform-origin: left;
      animation: progressBarShrink linear forwards;
    }

    .progress-success {
      background-color: #4caf50;
    }

    .progress-error {
      background-color: #f44336;
    }

    .progress-default {
      background-color: #00b9d1ff;
    }

    @keyframes slideInRight {
      from {
        opacity: 0;
        transform: translateX(100%);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes slideOutLeft {
      from {
        opacity: 1;
        transform: translateX(0);
      }
      to {
        opacity: 0;
        transform: translateX(-100%);
      }
    }

    @keyframes progressBarShrink {
      from {
        transform: scaleX(1);
      }
      to {
        transform: scaleX(0);
      }
    }