* { box-sizing: border-box; margin: 0; padding: 0; }

.auth-page {
  min-height: calc(100vh - 57px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.auth-box {
  background: #13141a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 40px;
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-logo {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  font-family: system-ui, sans-serif;
}

.auth-logo span {
  color: #e8692a;
}

.auth-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 13px;
  color: #fff;
  outline: none;
  font-family: system-ui, sans-serif;
  transition: border-color 0.2s;
}

.auth-input:focus {
  border-color: rgba(232,105,42,0.5);
}

.auth-input::placeholder {
  color: rgba(255,255,255,0.25);
}

.auth-btn {
  width: 100%;
  padding: 13px;
  background: #e8692a;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: system-ui, sans-serif;
}

.auth-btn:hover {
  background: #d45a1e;
}

.auth-error {
  font-size: 12px;
  color: #f87171;
  text-align: center;
  min-height: 16px;
}

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
  font-family: system-ui, sans-serif;
}

.auth-switch a {
  color: #e8692a;
  cursor: pointer;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: -8px;
  min-height: 18px;
}

@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-input-delayed {
  animation: authFadeIn 0.4s ease 0.15s both;
}

.auth-input-delayed2 {
  animation: authFadeIn 0.4s ease 0.28s both;
}

.auth-success-icon {
  text-align: center;
}

@keyframes checkCircle {
  from { stroke-dashoffset: 166; }
  to   { stroke-dashoffset: 0; }
}

@keyframes checkPath {
  from { stroke-dashoffset: 48; }
  to   { stroke-dashoffset: 0; }
}

.auth-check-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: checkCircle 0.5s ease forwards;
}

.auth-check-path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkPath 0.4s ease 0.4s forwards;
}

/* Navbar button — koristi se u ui.js */
.nav-auth-btn {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #e8692a;
  border: none;
  border-radius: 8px;
  padding: 7px 13px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  margin-left: 8px;
}

.nav-auth-btn:hover {
  background: #d45a1e;
}
