/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  font-weight: 300;
}

h1, h2 {
  font-weight: 700;
  color: #003366;
  text-align: center;
  margin-top: 2rem;
}

p {
  font-weight: 400;
}

/* Navigation Bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
  background-color: #2C3E50;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 14px 20px;
}

.nav-links a:hover {
  background-color: #E67E22;
}

/* Harvest Box */
.harvest-box {
  padding: 10px 15px;
  margin: 10px 20px;
  background-color: #eef;
  border-left: 5px solid #007BFF;
  font-weight: bold;
  font-size: 1em;
  border-radius: 4px;
  width: fit-content;
  text-align: left;
  white-space: nowrap;
  color: #333;
}

@media (max-width: 768px) {
  .harvest-box {
    width: 100%;
    margin: 10px 0;
    border-left: none;
    border-top: 4px solid #007BFF;
    text-align: center;
    white-space: normal;
  }
}

/* Buttons */
button, .btn, form button {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1em;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  min-width: 100px;
}

button:hover, .btn:hover, form button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

form button {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
}

/* Button Container */
.button-container, .center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
  text-align: center;
}

/* Calendar */
.calendar-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  color: #333;
}

.calendar-container iframe {
  width: 100%;
  height: 700px;
  border: none;
}

/* Record List */
#recordList {
  margin-top: 1rem;
}

#recordList .record-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #f9f9f9;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  border: 1px solid #ddd;
  text-align: right;
  color: #333;
}

#recordList .record-row label {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

#recordList .record-row input[type="checkbox"] {
  margin: 0;
  transform: scale(1.2);
}

/* Home Link */
.home-link {
  text-align: center;
  margin-top: 1rem;
}

.home-link a {
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  display: inline-block;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.home-link a:hover {
  background-color: #0056b3;
}

/* Guest Checkbox */
.guest-checkbox,
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 10px 0;
  justify-content: flex-start;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Report Table */
.report-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  background-color: #fff;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.report-table th,
.report-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border: 1px solid #ddd;
}

.report-table th {
  background-color: #003366;
  color: white;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}

.report-table tbody tr:nth-child(even) {
  background-color: #f4f4f4;
}

.report-table tbody tr:hover {
  background-color: #eef;
}

.report-table td:last-child,
.report-table th:last-child {
  background-color: #eef;
  color: black;
  font-weight: bold;
}

/* Condition Header */
.condition-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

.condition-header img {
  width: 64px;
  height: 64px;
  margin-bottom: 5px;
}

.condition-header span {
  font-size: 1.2em;
  font-weight: bold;
  color: #444;
}

.homepage-banner {
  background-color: #c0392b;
  color: white;
  padding: 12px 20px;
  font-weight: bold;
  text-align: center;
  border-bottom: 3px solid #922b21;
  font-size: 1.1em;
  z-index: 10;
}
#signature-pad {
  width: 100%;
  height: 200px;
  touch-action: none;
}