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

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Nunito Sans', Arial, sans-serif;
  color: #1c1c1e;
}

#page {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(160deg, rgba(10, 14, 20, 0.86), rgba(10, 14, 20, 0.72)), url('bollore-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
}

#card {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 36px 28px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
}

#logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 18px;
}

#subtitle {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #6b7280;
  letter-spacing: 0.02em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.field {
  text-align: left;
  margin: 0 0 16px;
}

.field label {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #33363d;
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e4e9;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Nunito Sans', Arial, sans-serif;
  background: #f8f9fb;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input[type="text"]:focus,
.field input[type="password"]:focus {
  outline: none;
  border-color: #ef4a5a;
  background: #ffffff;
}

.field .hint {
  display: block;
  font-size: 11.5px;
  color: #9096a2;
  margin-top: 6px;
  line-height: 1.4;
}

.persistency {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 22px;
  text-align: left;
}

.persistency label {
  font-size: 13px;
  color: #6b7280;
}

.persistency input[type="checkbox"] {
  accent-color: #ef4a5a;
  width: 15px;
  height: 15px;
}

.submit {
  margin: 0;
}

.submit input[type="submit"] {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #ef4a5a, #d6303f);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(239, 74, 90, 0.35);
}

.submit input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(239, 74, 90, 0.45);
}

.submit input[type="submit"]:active {
  transform: translateY(0);
}

.note {
  margin-top: 22px;
  font-size: 12px;
  color: #9096a2;
  line-height: 1.5;
}

.note a {
  color: #ef4a5a;
  text-decoration: none;
  font-weight: 600;
}

.note a:hover {
  text-decoration: underline;
}

#footer {
  margin-top: 22px;
  font-size: 12px;
  color: #d7dae0;
  text-align: center;
  letter-spacing: 0.02em;
}
