/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL STIL */
body {
  font-family: 'Montserrat', sans-serif;
  color: #f0f0f0;
  padding: 2rem;
  background: radial-gradient(circle at center, #222 0%, #000 100%);
  position: relative;
  overflow-x: hidden;
}

/* ZLATNE TAČKICE */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(#d4af37 3px, transparent 2px);
  background-size: 25px 25px;
  opacity: 0.05;
}

/* LOGO */
.logo {
  display: block;
  margin: 0 auto 2rem auto;
  width: 180px;
  animation: fadeIn 1.5s ease-out;
}

/* FORMA */
form h2 {
  text-align: center;
  color: #d4af37;
  margin-bottom: 1.5rem;
}

form label {
  display: block;
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #d4af37;
}

form input[type="text"],
form input[type="date"],
form input[type="file"],
form input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  background: #222;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s;
}

form input:focus {
  outline: none;
  border: 1px solid #d4af37;
}

form button {
  margin-top: 2rem;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #d4af37, #fff, #d4af37);
  color: #000;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(212,175,55,0.4);
}

form button:hover {
  background: linear-gradient(135deg, #fff, #d4af37);
  transform: scale(1.03);
}

/* LOGIN container za login.php */
.login-container {
  max-width: 400px;
  margin: 0 auto;
  background: #111;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  border: 2px solid;
  border-image: linear-gradient(135deg, #d4af37, #fff, #d4af37) 1;
  box-shadow: 0 0 25px rgba(212,175,55,0.2);
  animation: slideUp 1s ease-out;
  position: relative;
  z-index: 1;
}

/* ERROR poruka */
.error {
  color: #ff4d4d;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
}

/* ANIMACIJE */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
