:root {
  --green: #2e7d32;
  --red: #c62828;
  --blue: #1f4f82;
  --bg: #f4f6f8;
  --text: #1f2933;
  --muted: #667085;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
}

.card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.banner {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.logo {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--blue);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 12px;
}

h1 {
  margin: 0;
  font-size: 30px;
}

.brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.action-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin: 20px 0 28px;
    letter-spacing: .5px;
}

.action-title.checkin {
    color: var(--green);
}

.action-title.checkout {
    color: var(--red);
}

label {
  display: block;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 8px;
}

select,
textarea {
  width: 100%;
  font-size: 18px;
  padding: 14px;
  border: 1px solid #cfd4dc;
  border-radius: 12px;
  background: white;
}

textarea {
  resize: vertical;
}

button {
  width: 100%;
  margin-top: 26px;
  border: none;
  border-radius: 14px;
  padding: 24px;
  color: white;
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
}

button.checkin {
  background: var(--green);
}

button.checkout {
  background: var(--red);
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#status {
  text-align: center;
  margin-top: 18px;
  font-weight: 700;
  color: var(--red);
}

.completed {
  text-align: center;
  padding: 36px 10px;
}

.completed .big {
  font-size: 52px;
  margin-bottom: 12px;
}

.completed h2 {
  font-size: 34px;
  margin: 0;
}

.completed p {
  font-size: 24px;
  color: var(--muted);
}
