/*
 Theme Name:   Divi Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Divi App Child Theme
 Author:       Gmd
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/


html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}


.operator-timelog {
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  margin: 0 24px 24px;
  padding: 20px 24px;
}

.operator-timelog__summary {
  align-items: center;
  background: #f8fafc;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 16px;
}

.operator-timelog__header h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.operator-timelog__status {
  color: #334155;
  margin-bottom: 6px;
}

.operator-timelog__notice {
  color: #0f172a;
  font-weight: 600;
}

.operator-timelog__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 0;
}

.operator-timelog__form {
  margin: 0;
}

.operator-timelog__button {
  border: none;
  border-radius: 999px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  min-width: 120px;
  padding: 10px 24px;
  text-transform: uppercase;
}

.operator-timelog__button--in {
  background: #16a34a;
}

.operator-timelog__button--out {
  background: #dc2626;
}

.operator-timelog__button--manual {
  background: #0ea5e9;
  text-transform: none;
}

.operator-timelog__button:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.4);
  outline-offset: 2px;
}

.operator-timelog__manual {
  border-top: 1px solid #e2e8f0;
  margin-top: 16px;
  padding-top: 16px;
}

.operator-timelog__toggle {
  background: none;
  border: none;
  color: #2563eb;
  cursor: pointer;
  font-size: 15px;
  margin-top: 14px;
  padding: 0;
  text-align: left;
}

.operator-timelog__toggle--bottom {
  margin-top: 16px;
}

.operator-timelog__toggle:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.5);
  outline-offset: 4px;
}

.operator-timelog__manual h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.operator-timelog__manual-note {
  color: #475569;
  margin-bottom: 12px;
}

.operator-timelog__manual-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.operator-timelog__manual-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.operator-timelog__field {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 6px;
  min-width: 180px;
}

.operator-timelog__field input {
  border: 1px solid #cbd5f5;
  border-radius: 8px;
  padding: 8px 10px;
}

.operator-timelog-report {
  margin: 0 24px 24px;
}

.operator-timelog-report__header {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.operator-timelog-report__coordinates,
.operator-timelog-report__filters {
  align-items: flex-end;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
}

.operator-timelog-report__coordinates label,
.operator-timelog-report__filters label {
  color: #0f172a;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 6px;
  min-width: 180px;
}

.operator-timelog-report__coordinates input,
.operator-timelog-report__filters input {
  border: 1px solid #cbd5f5;
  border-radius: 8px;
  padding: 8px 10px;
}

.operator-timelog-report__button {
  border: none;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
  padding: 8px 18px;
  transition: background 0.2s ease;
}

.operator-timelog-report__button--orange {
  background: #f97316;
}

.operator-timelog-report__button--orange:hover {
  background: #ea580c;
}

.operator-timelog-report__button--blue {
  background: #38bdf8;
}

.operator-timelog-report__button--blue:hover {
  background: #0ea5e9;
}

.operator-timelog-report__table {
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-radius: 12px;
  padding: 16px;
}

.operator-timelog-report__datatable {
  font-size: 14px;
  width: 100%;
}

.operator-timelog-report__datatable thead th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  padding: 12px 10px;
  border-bottom: 1px solid #e2e8f0;
}

.operator-timelog-report__datatable tbody td {
  padding: 10px;
  border-bottom: 1px solid #f1f5f9;
  color: #1f2937;
}

.operator-timelog-report__datatable tbody tr:hover {
  background: #f8fafc;
}

.operator-timelog-report .dataTables_wrapper .dataTables_filter input,
.operator-timelog-report .dataTables_wrapper .dataTables_length select {
  border: 1px solid #cbd5f5;
  border-radius: 8px;
  padding: 6px 10px;
}

.operator-timelog-report .dataTables_wrapper .dt-buttons .dt-button {
  background: #1d4ed8;
  border: none;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 600;
  margin-right: 6px;
  padding: 6px 14px;
}

.operator-timelog-report .dataTables_wrapper .dt-buttons .dt-button:hover {
  background: #1e40af;
}

.operator-timelog-report .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 8px;
}

.operator-timelog-report .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #e2e8f0;
  border: 1px solid #cbd5f5;
}

.operator-timelog-report .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #1e40af;
  border: 1px solid #1e40af;
}

.operator-timelog__button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .operator-timelog {
    margin: 0 16px 20px;
    padding: 16px;
  }

  .operator-timelog__actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .operator-timelog__button {
    min-width: 100%;
  }

  .operator-timelog-report__table {
    padding: 12px;
  }
}