@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --background: #1f2430;
  --foreground: #fff8e6;

  --card: #2a2f3a;
  --primary: #facc15;
  --secondary: #323844;

  --border: #606060;
  --muted: #8a8f98;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
  position: relative;
}

/* Background pattern */
.grid-bg {
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 32px 32px;
}

.login-box {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 380px;
}

/* Logo */
.logo-area {
  text-align: center;
  margin-bottom: 30px;
}

.logo-area img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: contain;
}

.logo-area p {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
}

/* Card */
.card {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 15px;
}

.header h1 {
  font-size: 20px;
  margin-top: 20px;
}

.header p {
  font-size: 14px;
  margin-top: 3px;
  margin-bottom: 20px;
  color: var(--muted);
}

/* Inputs */
.input-group {
  position: relative;
  margin-bottom: 15px;
}

.input-group input {
  width: 100%;
  height: 48px;
  padding: 0 12px 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: white;
}

/* Forgot */
.forgot {
  text-align: center;
  margin-bottom: 15px;
}

.forgot a {
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
}

/* Button */
.btn {
  margin-top: 10px;
  width: 100%;
  height: 48px;
  background: var(--primary);
  border: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover */
.btn:hover {
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.35);
  transform: translateY(-2px);
}

/* Clique */
.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(250, 204, 21, 0.25);
}
/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 10px;
}

.divider span {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider small {
  color: var(--muted);
}

/* Register */
.register {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.register a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

/* Footer */
.footer {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}