.gc-punch-message {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  background: #eef8f1;
  color: #000000;
  font-weight: 700;
  border-radius: 6px;
  max-width: 700px;
}

.gc-punch-message.is-visible {
  display: block;
}

.gc-punch-message.is-error {
  background: #fff1f1;
  color: #7a1f1f;
}

.gc-clock-in-trigger.is-disabled,
.gc-clock-out-trigger.is-disabled,
.gc-start-lunch-trigger.is-disabled,
.gc-end-lunch-trigger.is-disabled,
.gc-lunch-start-trigger.is-disabled,
.gc-lunch-end-trigger.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.gc-recent-punches,
.gc-timesheet {
  margin-top: 24px;
}

.gc-recent-punches {
  max-width: 700px;
}

.gc-timesheet {
  max-width: 100%;
}

.gc-recent-punches-title,
.gc-timesheet-title {
  margin: 0 0 10px;
  color: #ffffff;
}

.gc-timesheet-title {
  margin-bottom: 6px;
}

.gc-timeclock-current-status {
  margin: 0 0 10px;
  color: #ffffff;
  font-weight: 700;
}

.gc-timesheet-subtitle {
  margin: 0 0 10px;
  color: #ffffff;
}

.gc-punch-table-status,
.gc-timesheet-status {
  margin: 0 0 10px;
  padding: 8px 0;
  color: #ffffff;
}

.gc-punch-table-status.is-error,
.gc-timesheet-status.is-error {
  padding: 10px 12px;
  border-left: 4px solid #b33a3a;
  background: #fff1f1;
  color: #7a1f1f;
  border-radius: 6px;
}

.gc-punch-table-wrap,
.gc-timesheet-table-wrap {
  overflow-x: auto;
}

.gc-punch-table,
.gc-timesheet-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background: #636363;
}

.gc-timesheet-table {
  min-width: 950px;
}

.gc-punch-table[hidden],
.gc-timesheet-table[hidden] {
  display: none !important;
}

.gc-recent-punches .gc-punch-table th,
.gc-recent-punches .gc-punch-table td,
.gc-timesheet .gc-timesheet-table th,
.gc-timesheet .gc-timesheet-table td {
  border: 1px solid #d9e1dc;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.gc-timesheet .gc-timesheet-table th,
.gc-timesheet .gc-timesheet-table td {
  white-space: nowrap;
}

.gc-recent-punches .gc-punch-table thead th,
.gc-timesheet .gc-timesheet-table thead th {
  background: #f1f5f3;
  color: #000000;
  font-weight: 700;
}

.gc-recent-punches .gc-punch-table tbody td,
.gc-timesheet .gc-timesheet-table tbody td {
  background: #636363;
  color: #ffffff;
}

.gc-recent-punches .gc-punch-table tbody tr:nth-child(even) td,
.gc-timesheet .gc-timesheet-table tbody tr:nth-child(even) td {
  background: #252525;
}

.gc-timesheet .gc-timesheet-table tbody tr.has-open-punch td {
  font-weight: 700;
}

.gc-timesheet-actions {
  margin-top: 16px;
  max-width: 700px;
}

.gc-timesheet-submit-button,
.gc-submit-timesheet-trigger {
  border: 0;
  border-radius: 6px;
  padding: 12px 18px;
  background: #1f7a3f;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.gc-timesheet-submit-button:hover,
.gc-submit-timesheet-trigger:hover {
  opacity: 0.92;
}

.gc-timesheet-submit-button.is-disabled,
.gc-submit-timesheet-trigger.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.gc-timesheet-submit-status {
  margin: 10px 0 0;
  color: #ffffff;
  font-weight: 700;
}

.gc-timesheet-submit-status.is-error {
  padding: 10px 12px;
  border-left: 4px solid #b33a3a;
  background: #fff1f1;
  color: #7a1f1f;
  border-radius: 6px;
}

.gc-timesheet-review {
  margin-top: 24px;
  max-width: 100%;
}

.gc-timesheet-review-title {
  margin: 0 0 6px;
  color: #ffffff;
}

.gc-timesheet-review-subtitle,
.gc-review-status,
.gc-review-detail-status,
.gc-review-decision-status {
  color: #ffffff;
}

.gc-review-status,
.gc-review-detail-status,
.gc-review-decision-status {
  margin: 0 0 10px;
  padding: 8px 0;
}

.gc-review-status.is-error,
.gc-review-detail-status.is-error,
.gc-review-decision-status.is-error {
  padding: 10px 12px;
  border-left: 4px solid #b33a3a;
  background: #fff1f1;
  color: #7a1f1f;
  border-radius: 6px;
}

.gc-review-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.gc-review-queue-panel,
.gc-review-detail-panel {
  min-width: 0;
}

.gc-review-search-label,
.gc-review-select-label,
.gc-review-note-label {
  display: block;
  margin: 0 0 6px;
  color: #ffffff;
  font-weight: 700;
}

.gc-review-select-label,
.gc-review-note-label {
  margin-top: 12px;
}

.gc-review-search,
.gc-review-participant-select,
.gc-review-note {
  width: 100%;
  max-width: 100%;
  border: 1px solid #d9e1dc;
  border-radius: 6px;
  padding: 10px;
  background: #ffffff;
  color: #000000;
}

.gc-review-queue {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.gc-review-queue-item {
  display: block;
  width: 100%;
  border: 1px solid #d9e1dc;
  border-radius: 8px;
  padding: 12px;
  background: #636363;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.gc-review-queue-item:hover,
.gc-review-queue-item.is-selected {
  outline: 2px solid #f1f5f3;
  outline-offset: 2px;
}

.gc-review-queue-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.gc-review-queue-name {
  font-weight: 700;
}

.gc-review-status-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: #f1f5f3;
  color: #000000;
  font-size: 12px;
  font-weight: 700;
}

.gc-review-queue-meta {
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.gc-review-queue-meta-item.is-warning {
  font-weight: 700;
}

.gc-review-empty {
  margin: 0;
  color: #ffffff;
}

.gc-review-detail-title {
  margin: 0 0 12px;
  color: #ffffff;
}

.gc-review-detail-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.gc-review-summary-item {
  border: 1px solid #d9e1dc;
  border-radius: 6px;
  padding: 10px;
  background: #636363;
  color: #ffffff;
}

.gc-review-summary-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.gc-review-summary-value {
  display: block;
  font-weight: 700;
}

.gc-timesheet-review .gc-timesheet-table th,
.gc-timesheet-review .gc-timesheet-table td {
  border: 1px solid #d9e1dc;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.gc-timesheet-review .gc-timesheet-table thead th {
  background: #f1f5f3;
  color: #000000;
  font-weight: 700;
}

.gc-timesheet-review .gc-timesheet-table tbody td {
  background: #636363;
  color: #ffffff;
}

.gc-timesheet-review .gc-timesheet-table tbody tr:nth-child(even) td {
  background: #252525;
}

.gc-timesheet-review .gc-timesheet-table tbody tr.has-open-punch td {
  font-weight: 700;
}

.gc-review-actions {
  margin-top: 16px;
  max-width: 700px;
}

.gc-review-decision-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.gc-review-approve-button,
.gc-review-deny-button {
  border: 0;
  border-radius: 6px;
  padding: 12px 18px;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.gc-review-approve-button {
  background: #1f7a3f;
}

.gc-review-deny-button {
  background: #b33a3a;
}

.gc-review-approve-button:hover,
.gc-review-deny-button:hover {
  opacity: 0.92;
}

.gc-review-approve-button.is-disabled,
.gc-review-deny-button.is-disabled,
.gc-review-note:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 900px) {
  .gc-review-layout {
    grid-template-columns: 1fr;
  }

  .gc-review-detail-summary {
    grid-template-columns: 1fr;
  }
}

.gc-timesheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.gc-timesheet-submit-status {
  flex-basis: 100%;
}

.gc-timesheet-edit-button,
.gc-edit-timesheet-trigger,
.gc-timesheet-resubmit-button,
.gc-resubmit-timesheet-trigger,
.gc-punch-add-button,
.gc-punch-event-save-button,
.gc-punch-event-delete-button {
  border: 0;
  border-radius: 6px;
  padding: 12px 18px;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.gc-timesheet-edit-button,
.gc-edit-timesheet-trigger,
.gc-punch-add-button,
.gc-punch-event-save-button {
  background: #1f7a3f;
}

.gc-timesheet-resubmit-button,
.gc-resubmit-timesheet-trigger {
  background: #1f5f7a;
}

.gc-punch-event-delete-button {
  background: #b33a3a;
  margin-left: 8px;
}

.gc-timesheet-edit-button:hover,
.gc-edit-timesheet-trigger:hover,
.gc-timesheet-resubmit-button:hover,
.gc-resubmit-timesheet-trigger:hover,
.gc-punch-add-button:hover,
.gc-punch-event-save-button:hover,
.gc-punch-event-delete-button:hover {
  opacity: 0.92;
}

.gc-timesheet-edit-button.is-disabled,
.gc-edit-timesheet-trigger.is-disabled,
.gc-timesheet-resubmit-button.is-disabled,
.gc-resubmit-timesheet-trigger.is-disabled,
.gc-punch-add-button.is-disabled,
.gc-punch-event-save-button.is-disabled,
.gc-punch-event-delete-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.gc-timesheet-punch-editor {
  margin-top: 24px;
  max-width: 100%;
}

.gc-punch-editor-title {
  margin: 0 0 8px;
  color: #ffffff;
}

.gc-punch-editor-help,
.gc-punch-editor-status {
  color: #ffffff;
}

.gc-punch-editor-status {
  margin: 0 0 10px;
  padding: 8px 0;
}

.gc-punch-editor-status.is-error {
  padding: 10px 12px;
  border-left: 4px solid #b33a3a;
  background: #fff1f1;
  color: #7a1f1f;
  border-radius: 6px;
}

.gc-punch-editor-table-wrap {
  overflow-x: auto;
}

.gc-punch-editor-table {
  width: 100%;
  min-width: 1050px;
  border-collapse: collapse;
  border-spacing: 0;
  background: #636363;
}

.gc-punch-editor-table[hidden] {
  display: none !important;
}

.gc-punch-editor-table th,
.gc-punch-editor-table td {
  border: 1px solid #d9e1dc;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.gc-punch-editor-table thead th {
  background: #f1f5f3;
  color: #000000;
  font-weight: 700;
}

.gc-punch-editor-table tbody td {
  background: #636363;
  color: #ffffff;
}

.gc-punch-editor-table tbody tr:nth-child(even) td {
  background: #252525;
}

.gc-punch-editor-table select,
.gc-punch-editor-table input,
.gc-punch-editor-add select,
.gc-punch-editor-add input {
  width: 100%;
  max-width: 180px;
  border: 1px solid #d9e1dc;
  border-radius: 6px;
  padding: 8px;
  background: #ffffff;
  color: #000000;
}

.gc-punch-editor-add {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #d9e1dc;
  border-radius: 8px;
  background: #636363;
  color: #ffffff;
}

.gc-punch-editor-add h5 {
  flex-basis: 100%;
  margin: 0;
  color: #ffffff;
}

.gc-punch-editor-add label {
  display: grid;
  gap: 6px;
  color: #ffffff;
  font-weight: 700;
}

.gc-review-note.is-error {
  border-color: #b33a3a;
  outline: 2px solid #b33a3a;
  outline-offset: 2px;
}

.gc-timeclock-access-notice {
  margin: 16px 0;
  max-width: 700px;
  padding: 14px 16px;
  border-left: 4px solid #b33a3a;
  border-radius: 6px;
  background: #fff1f1;
  color: #7a1f1f;
  font-weight: 700;
}

.gc-timeclock-access-notice strong {
  display: block;
  margin-bottom: 4px;
}

.gc-timeclock-access-notice p {
  margin: 0;
}

body.gc-timeclock-participant-access-denied .gc-clock-in-trigger,
body.gc-timeclock-participant-access-denied .gc-clock-out-trigger,
body.gc-timeclock-participant-access-denied .gc-start-lunch-trigger,
body.gc-timeclock-participant-access-denied .gc-end-lunch-trigger,
body.gc-timeclock-participant-access-denied .gc-lunch-start-trigger,
body.gc-timeclock-participant-access-denied .gc-lunch-end-trigger,
body.gc-timeclock-participant-access-denied .gc-submit-timesheet-trigger,
body.gc-timeclock-participant-access-denied .gc-edit-timesheet-trigger,
body.gc-timeclock-participant-access-denied .gc-resubmit-timesheet-trigger,
body.gc-timeclock-participant-access-denied [data-gc-timesheet-submit],
body.gc-timeclock-participant-access-denied [data-gc-timesheet-edit],
body.gc-timeclock-participant-access-denied [data-gc-timesheet-resubmit] {
  display: none !important;
  pointer-events: none !important;
}

body.gc-timeclock-participant-access-denied .gc-recent-punches,
body.gc-timeclock-participant-access-denied .gc-timesheet,
body.gc-timeclock-manager-access-denied .gc-timesheet-review .gc-review-layout {
  display: none !important;
}
