/* Record Data Manager Styles */

/* Error Messages */
.error-msg { 
  color: red; 
  font-size: 12px; 
}

/* Latest Check-in Box */
.latest-checkin-box {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
}

.latest-checkin-title {
  margin-top: 0;
}

/* Buttons */
.btn-checkout {
  background-color: #e60303;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
}

.btn-edit-checkout {
  background-color: #282b85;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  height: 45px;
  white-space: nowrap;
  min-width: 150px;
  display: inline-block;
}

.btn-save-checkout {
  background-color: #e60303;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  height: 45px;
  white-space: nowrap;
  min-width: 220px;
  display: inline-block;
}

.btn-save-checkout-edit {
  background-color: #e60303;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
}

/* Checkout Preview Grid */
.checkout-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}

.full-width-input {
  width: 100%;
}

.grid-span-full {
  grid-column: span 5;
  margin-top: 8px;
}

.grid-button-container {
  grid-column: span 5;
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* Text Styles */
.checkin-time-display {
  padding: 8px;
  font-size: 14px;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  color: #000;
}

.modal-icon-success {
  font-size: 60px;
  color: green;
}

.modal-icon-error {
  font-size: 40px;
  color: red;
}

.modal-title {
  margin: 16px 0;
  font-size: 18px;
  font-weight: bold;
}

.modal-title-small {
  margin: 16px 0;
  font-size: 16px;
  font-weight: bold;
}

.modal-button-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.modal-btn-confirm {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background: #e60303;
  color: #fff;
  cursor: pointer;
}

