* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
  background: #0f172a;
  height: 100vh;
  overflow: hidden;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, #1e293b, #020617);
}

.login-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-card {
  width: 360px;
  padding: 30px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  text-align: center;
  color: #e5e7eb;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

.version {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #020617;
  color: white;
}

input:focus {
  outline: none;
  border-color: #3b82f6;
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #2563eb;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  font-weight: 500;
}

button:disabled {
  opacity: 0.7;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes spin {
  to { transform: rotate(360deg) translateY(-50%); }
}

.error {
  margin-top: 12px;
  color: #f87171;
  font-size: 13px;
  min-height: 18px;
  transition: opacity 0.3s;
}

.footer {
  margin-top: 20px;
  font-size: 11px;
  color: #6b7280;
}
