/* ============================================
   BASE
   ============================================ */

body {
  margin: 0;
  font: 16px/1.5 system-ui, Segoe UI, Roboto, sans-serif;
  background: linear-gradient(180deg, #F5F8F9 0%, #E9EFF1 100%);
  color: #0F2227;
  min-height: 100vh;
}

.wrap {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 16px;
}

h1 {
  margin: 0 0 16px;
  font-size: 1.8rem;
  color: #0F2227;
}

/* ============================================
   INPUTS & CONTROLS
   ============================================ */

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

input,
button,
select {
  padding: 10px 12px;
  border: 1px solid #C9D7DA;
  border-radius: 10px;
  background: #FFFFFF;
  color: #0F2227;
  transition: all 0.18s ease;
  font-size: 15px;
}

input:focus,
select:focus {
  border-color: #00787D;
  box-shadow: 0 0 0 2px rgba(0, 120, 125, 0.15);
  outline: none;
}

button {
  cursor: pointer;
}

button:hover {
  background: #DCEEEF;
  border-color: #00787D;
}

/* Teal Accent Variant */
button.primary {
  background: #00787D;
  border-color: #005A5E;
  color: #EFFFFF;
  font-weight: 600;
}

button.primary:hover {
  filter: brightness(1.08);
}

/* ============================================
   TIME DISPLAY
   ============================================ */

.time {
  font: 700 42px/1.2 ui-monospace, Consolas, monospace;
  text-align: center;
  margin: 20px 0;
  color: #0F2227;
}

/* ============================================
   TABLE
   ============================================ */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  background: #FFFFFF;
  border: 1px solid #E1ECEE;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

th, td {
  padding: 10px 12px;
  border-bottom: 1px solid #EEF2F7;
  text-align: left;
  font-size: 14px;
}

th {
  background: #F0F6F7;
  color: #0F2227;
  font-weight: 600;
}

tfoot td {
  font-weight: 700;
  background: #EAF3F4;
}

.right {
  text-align: right;
}
