body {
  margin: 0px;
  padding: 0px !important;
}

/* Datetime display styling for contractor walkthrough */
.datetime-display-container {
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  background-color: #f8f9fa;
  transition: background-color 0.2s ease;
}

.datetime-display-container:hover {
  background-color: #e9ecef;
  border-color: #17a9e4;
}

.datetime-display {
  color: #2c3e50;
  font-weight: 500;
}

/* Save button for datetime inputs */
.btn-save-datetime {
  margin-top: 8px;
  font-size: 0.9rem;
  padding: 6px 12px;
  background-color: #28a745;
  border-color: #28a745;
  color: white;
}

.btn-save-datetime:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.body-content {
  margin-bottom: 20px;
}

.h2-header {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

/* Function: Special Text Styling */
.special-text {
  color: darkgrey;
  font-style: italic;
}


.hidden {
  display: none;
}


.crew-form {
  margin-top: 20px;
}

.button-container {
  display: flex;
  align-items: center;
}

.my-button {
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
}

.clock-in {
  background-color: green;
  border: none;
  color: white;
}

.clock-out {
  background-color: red;
  border: none;
  color: white;
}

.my-button:hover {
  background-color: #005f8a;
}

.checkbox-div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notes-div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
}

.checkbox-label,
.notes-input {
  font-size: 16px;
}

.checkbox-label {
  font-size: 16px;
  color: #333;
  margin-left: 5px;
}

.checkbox-label {
  font-size: 16px;
  color: #333;
  margin-left: 5px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  /* Matching with the button font */
}

.notes-input,
.notes-input-edit {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.notes-input:focus,
.notes-input-edit:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

/* Mobile-first styles */

.confirm-text {
  font-size: 14px;
  color: #333;
  margin: 10px 0;
}

.confirm-button,
.add-record {
  padding: 8px;
  font-size: 14px;
}

.confirm-button {
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.add-record {
  color: #007bff;
  text-decoration: underline;
}

.styled-button {
  background-color: orange;
  border-radius: 8px;
  padding: 2px 10px;
  color: white;
  text-decoration: none;
  text-align: center;
}

.delete-link {
  background-color: red;
}

.edit-link {
  background-color: green;
}

/* Add larger screen adaptations here, if necessary */
@media only screen and (min-width: 769px) {
  .h2-header {
    text-align: left;
  }
}

.page-title {
  font-size: 24px;
  font-weight: bold;
}

.record-form {
  max-width: 400px;
  margin: auto;
}

.record-table {
  width: 100%;
}

.record-row {
  margin: 8px 0;
}

.field-name {
  padding: 10px;
  font-weight: bold;
}

.field-value {
  padding: 10px;
}

.error-list {
  color: red;
  font-weight: bold;
}

.content-wrapper {
  padding: 16px;
  margin-top: 65px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  width: 100%;
}

.content-wrapper-login {
  padding: 0;
  margin-top: 0;
}

.add-record-btn {
  padding: 8px 16px;
  border: 2px solid #2196f3;
  border-radius: 6px;
  background-color: transparent;
  color: #2196f3;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  white-space: nowrap;
  width: 100%;
  justify-content: center;
}

.add-record-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

.add-record-btn:hover {
  background-color: #2196f3;
  color: white;
}

.add-record-btn:hover svg {
  stroke: white;
}

.add-record-btn.hidden {
  display: none;
}