:root {
  --cyan: #00b8d4;
  --blue: #1976d2;
  --red: #d32f2f;
  --green: #1b5e20;
  --grey: #757575;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  font-family: 'Padauk', 'Myanmar Text', 'Noto Sans Myanmar', system-ui, sans-serif;
  color: #212121;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 20px 20px 60px;
  position: relative;
}

.brand { text-align: center; margin-bottom: 15px; }
.wordmark { color: var(--cyan); font-size: 32px; font-weight: bold; }
.brand hr { border: none; border-top: 1px solid #e0e0e0; margin-top: 15px; }

.content { display: flex; flex-direction: column; gap: 14px; }

.heading { color: var(--cyan); font-size: 18px; margin: 0; }

.stack { display: flex; flex-direction: column; gap: 10px; }

input, textarea {
  border: 1px solid var(--cyan);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
}

.field-label { font-size: 14px; color: var(--grey); }

.btn {
  border: none;
  border-radius: 24px;
  padding: 12px 20px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
}
.btn-primary { background: var(--blue); }
.btn-danger { background: var(--red); }
.btn-signout { background: var(--red); opacity: 0.85; }

.link { color: var(--cyan); text-decoration: none; }
.link:hover { text-decoration: underline; }

.banner {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.banner.error { background: #fde8e8; color: var(--red); border: 1px solid var(--red); }

.wait-message { color: var(--blue); font-size: 16px; }

.history-list { display: flex; flex-direction: column; gap: 8px; }
.history-row {
  border: 1px solid var(--cyan);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}
.history-row .date { color: var(--cyan); }
.history-row .in-time { color: var(--green); }
.history-row .out-time { color: var(--red); }
.history-row .point { color: var(--blue); font-weight: bold; }

.empty-state { color: var(--grey); }

.total-ot {
  background: #e3f2fd;
  border-top: 2px solid var(--blue);
  color: var(--blue);
  font-weight: bold;
  padding: 10px 12px;
  text-align: right;
  border-radius: 0 0 6px 6px;
}

.copyright {
  text-align: center;
  color: var(--grey);
  font-size: 12px;
  margin-top: 40px;
}
