:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #6b6b6b;
  --accent: #0a0a0a;
  --maxw: 72rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}

.container {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
}


.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}


.panel {
  width: 100%;
  max-width: var(--maxw);
  display: grid;
  gap: 2rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
}

p.lead {
  margin: 0 auto;
  max-width: 40ch;
  font-size: clamp(1rem, 1.2vw + 0.9rem, 1.25rem);
  color: var(--muted);
}

.actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.input-field {
  width: 100%;
  max-width: 300px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--muted);
  border-radius: 8px;
  font-size: 1rem;
}

#cheque-details {
  display: none;
}

.validation-summary-errors > ul {
    list-style-type: none;
}

.btn {
    --btn-bg: #14a631;
    --btn-fg: #ffffff;
    --btn-br: 999px;
    --btn-bd: 1.5px solid #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    border-radius: var(--btn-br);
    border: var(--btn-bd);
    background: var(--btn-bg);
    color: var(--btn-fg);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
    will-change: transform;
}

#my-cal-inline {
  width: 100%;
  height: 100%;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: #fff;
}

#fetch-cheque-button-container {
  margin-top: 10px;
}

.brand {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px;
}

.error-message {
  color: red;
  font-weight: 600;
  margin-right: 25px;
}

.footer {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .brand {
    position: static;
    text-align: center;
    margin-bottom: 1rem;
  }

  .footer {
    position: static;
    transform: none;
    text-align: center;
    margin-top: 2rem;
  }
}