/* ===== GLOBAL COLORS (fallbacks) ===== */
:root {
  --primary-color: #ff3c3c;
  --primary-color-hover: #ff5555;
  --secondary-color: #ff7a7a;
  --secondary-color-hover: #ff9a9a;
  --surface-color: rgba(255,255,255,0.7);
  --text-context-color: #111217;
  --background-color: #f5f7fa;
}

/* ===== HEADING ===== */
h2 {
  text-align: center;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  color: var(--text-context-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--background-color);
  padding: 1rem;
}

/* ===== FORM CONTAINER ===== */
form.login-form {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  border-radius: 16px;
  background: var(--surface-color);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.4);
}

/* ===== FORM FIELDS ===== */
form.login-form div {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-context-color);
  margin-bottom: 6px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  background: var(--background-color);
  color: var(--text-context-color);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-size: 1rem;
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

/* ===== BUTTON ===== */
button[type="submit"].action-btn {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

button[type="submit"].action-btn:hover {
  background: var(--primary-color-hover);
  transform: translateY(-1px);
}

/* ===== SMALL DETAILS ===== */
form div:last-of-type {
  margin-bottom: 0;
}

.liquid-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}