:root {
  /* Jasny motyw */
  --bg: #e6f0ff;
  --card: #f0f6ff;
  --text: #1e293b;
  --muted: #475569;
  --accent: #1d4ed8;
  --accent-pressed: #1e40af;
  --ring: rgba(29, 78, 216, 0.35);
  --danger: #ef4444;
  --danger-pressed: #dc2626;
}

* { box-sizing: border-box; }
html, body { 
  height: 100%; 
  margin: 0; 
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif; 
  color: var(--text); 
}
body {
  display: grid; 
  place-items: center; 
  background-image: url("../assets/background.png");
  background-position: center;
  background-attachment: fixed;
}

.card, .login-box { 
  background: rgba(39, 10, 92, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
 border: 1px solid rgba(255, 255, 255, 0.7); 
  border-radius: 10px; 
  padding: 40px 30px; 
  min-width: 320px;
  text-align: center; 
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

input { 
  background: rgba(39, 10, 92, 0.2);
  color: #ffffff;
  width: 100%; 
  padding: 12px 14px; 
  margin: 8px 0; 
  border-radius: 12px; 
  border: 2px solid rgba(255, 255, 255, 0.7); 
  font-size: 16px;
  transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255);
}

input:focus {
  background-color: rgba(39, 10, 92, 0.05);
    color: #ffffff;
    outline: none; 
}

input[type="checkbox"] {
 margin-left: 5px;
}
.text {
  color: #fff;
  font-size: 15px;
}
button { 
  width: 100%; 
  padding: 15px 14px; 
  margin-top: 24px; 
  border-radius: 50px; 
  border: none; 
  background: #9d50f8;
  color: #fff; 
  font-size: 18px; 
  font-weight: 700; 
  cursor: pointer; 
  box-shadow: 0 4px 10px rgba(157, 80, 248, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
label {
  display: flex;
  align-items: center;

}

button:hover {
  background: #6e40b6;
  box-shadow: 0 6px 15px rgba(157, 80, 248, 0.6);
}
h1 { 
  margin: 0 0 24px;
  font-size: clamp(24px,4vw,32px); 
  color: #fff;
}


.message { 
  color: var(--danger); 
  margin-top: 12px; 
  font-weight: 600; 
}
