/* login */
body {
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(28,28,28,1) 30%, rgba(38,38,38,1) 50%, rgba(28,28,28,1) 70%, rgba(0,0,0,1) 100%);
    color: white; /* Opciono: Bele boje za tekst da bi bio čitljiv */
    font-family: 'Montserrat', sans-serif !important; /* Updated font family */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
  }
  .login-container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding: 20px;
  }
  .login-container h1 {
    font-weight: 700;
  }
  .form-label {
    font-size: 12px;
  }
  .login-container p {
    font-size: 14px;
    color: #b0b0b0;
  }
  .login-container a {
    color: #fff;
    text-decoration: none;
  }
  .form-control {
    background: #1C1C1C;
    border: none;
    color: white;
  }
  .form-control::placeholder {
    color: #7F8FA6;
  }
  .btn-login {
    background: #1877F2;
    color: white;
    font-weight: 700;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 30px;
    transition: 0.3s;
  }
  .btn-login:hover {
    background: #125ec4;
  }

  .h1-hero-secound {
    font-size: 48px;
    font-weight: 700;
    color: #f5f5f5 !important;
    line-height: 1.2em;
    margin-bottom: 40px !important;
  }

  .login-paragraf {
    font-size: 18px !important;
  }


  /* Crveni border + glow za neispravne inpute */
.login-container .form-control.login-invalid {
  border-color: #ff4b5c !important;
  box-shadow: 0 0 0 0.15rem rgba(255, 75, 92, 0.35) !important;
  background-color: rgba(255, 75, 92, 0.03);
}

/* Tekst poruke ispod inputa */
.login-container .invalid-feedback {
  color: #ff4b5c;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Global error alert malo zaobljen + blur */
.login-global-error {
  border-radius: 12px;
  background: rgba(255, 75, 92, 0.1);
  border: 1px solid rgba(255, 75, 92, 0.6);
  backdrop-filter: blur(4px);
}

/* Shake animacija kad ima grešku na formi */
.login-error-shake {
  animation: loginShake 0.35s ease-in-out;
}

@keyframes loginShake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-5px); }
  40%  { transform: translateX(5px); }
  60%  { transform: translateX(-3px); }
  80%  { transform: translateX(3px); }
  100% { transform: translateX(0); }
}
