.main-login{
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

html, body{
  width: 100%;
  overflow-x: hidden;
}

.login-content{
  width: 100%;
  max-width: 460px;
  padding: 0 20px;
}

.login-form{
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  padding: 36px 36px 30px;
  text-align: center;
}

.login-logo{
  margin-bottom: 18px;
}

.login-logo img{
  max-width: 220px;
}

.login-logo .fallback{
  font-size: 34px;
  font-weight: 700;
  color: #1e88e5;
}

.login-message{
  margin-bottom: 22px;
}

.login-message p{
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

.login-label{
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5e7eb;
  border-left: 3px solid transparent;
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #fff;
  transition: border-color .2s, background .2s;
}

.login-label:focus-within{
  border-left-color: var(--nexus-orange);
  background: var(--nexus-orange-soft);
}

.login-label i{
  color: var(--nexus-orange);
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}

.login-label input,
.login-label select{
  width: 100%;
  border: 0;
  outline: none;
  font-size: 14px;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.login-button{
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  margin-top: 10px;
  width: 160px;
  padding: 18px 0;
  background: var(--nexus-orange);
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .1s ease;
}

.login-button:hover{
  background: var(--nexus-orange-hover);
  transform: translateY(-1px);
}

.alert-danger{
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #a94442;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 13px;
  text-align: left;
}

.field-error{
  font-size: 12px;
  color: #b91c1c;
  text-align: left;
  margin-top: -10px;
  margin-bottom: 10px;
}

.login-copy-right{
  position: absolute;
  bottom: 16px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #555;
}

@media (max-width: 900px){
  .main-login{
    flex-direction: column;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .login-content{ padding: 26px; }
  .login-copy-right{
    margin-top: 12px;
    margin-bottom: 24px;
  }
}
