.dashboard-container {
  margin: 0 auto;
}

.dashboard-card {
  width: 100%;
  background: #fff;
  padding: 18px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}
.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.13) !important;
}

.dashboard-icon {
  font-size: 1.4em;
}

.dashboard-title {
  color: #333;
  font-weight: 600;
}

.dashboard-chevron {
  margin-left: auto;
  color: #3e6fb4;
}

.dashboard-container-action-filter {
  margin-bottom: 28px;
}

.dashboard-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
@media (max-width: 600px) {
  .dashboard-buttons-grid {
    gap: 8px;
  }
}

.dashboard-grid-item {
  /* Empty placeholder for grid items */
}

.dashboard-menu {
  display: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 8px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}

.dashboard-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.dash-action-item {
  background: #f8f9fb;
  border: none;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dash-action-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.dash-action-item span:first-child {
  font-size: 1.6em;
}

.dash-action-title {
  font-weight: 600;
  color: #333;
}

.dash-action-desc {
  font-size: 0.84em;
  color: #888;
}

.filter-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.filter-row:last-child {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.filter-row:last-child button {
  margin-left: auto;
}

.filter-label {
  font-size: 0.85em;
  color: #666;
  font-weight: 600;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95em;
  background: #fff;
  cursor: pointer;
}

.filter-clear-btn {
  margin-left: auto;
  padding: 8px 16px;
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85em;
}

.tl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.work-tabs-mobile {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 12px;
}

.work-tab {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 600;
  color: #aaa;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.work-tab.is-active {
  color: #3e6fb4;
  border-bottom-color: #3e6fb4;
}

.tl-grid .work-tab-content {
  display: none;
}

.tl-grid .work-tab-content.is-active {
  display: block;
}

.tl-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.tl-section-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid;
}
.tl-section-header.today {
  border-color: #3e6fb4;
}
.tl-section-header.latest {
  border-color: #95a5a6;
}
.tl-section-header.upcoming {
  border-color: #27ae60;
}

.tl-section-icon {
  font-size: 1.1em;
}

.tl-section-title {
  color: #333;
  font-weight: 600;
}

.tl-section-label {
  font-size: 0.8em;
  color: #999;
  margin-left: auto;
}

.tl-empty-message {
  padding: 14px;
  color: #aaa;
  text-align: center;
  font-size: 0.9em;
}

.tl-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.tl-row:last-child {
  border-bottom: none !important;
}

.tl-row-content {
  flex: 1;
  min-width: 0;
}

.tl-row-user {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.tl-row-user-name {
  font-size: 0.9em;
  color: #3e6fb4;
  font-weight: 600;
}
.tl-row-user-name.latest-admin {
  font-size: 0.9em;
}

.tl-row-project {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 1.1em;
  line-height: 1.5;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tl-row-project span {
  color: #999;
  flex-shrink: 0;
  font-size: 0.95em;
}
.tl-row-project a {
  color: #3e6fb4;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}
.tl-row-project a:hover {
  text-decoration: underline;
}
.tl-row-project .tl-icon-btn, .tl-row-project .tl-project-info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: #3e6fb4;
  text-decoration: none !important;
  transition: all 0.2s ease;
  vertical-align: middle;
  flex-shrink: 0;
  border: none;
}
.tl-row-project .tl-icon-btn i, .tl-row-project .tl-project-info-link i {
  font-size: 1.4em;
}
.tl-row-project .tl-icon-btn:hover, .tl-row-project .tl-project-info-link:hover {
  background: rgba(102, 126, 234, 0.15);
  color: #5568d3;
}
.tl-row-project.latest {
  font-size: 1.1em;
}

.tl-row-note {
  font-size: 0.82em;
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tl-row-date {
  font-size: 1em;
  color: #464646;
  white-space: nowrap;
  width: 160px;
  flex-shrink: 0;
  text-transform: capitalize;
  font-weight: bold;
}

@media (min-width: 500px) {
  .tl-row-date {
    font-size: 0.85em;
  }
}
.tl-row-time-range {
  font-size: 0.82em;
  color: #888;
  white-space: nowrap;
}

.tl-row-time-range-today {
  font-size: 0.85em;
  color: #666;
  white-space: nowrap;
}

.tl-time-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1em;
  color: #2c92ff;
  white-space: nowrap;
  padding: 0 12px;
  height: 50px;
  background: #f5f5f5;
  border-radius: 6px;
}
.tl-time-label i {
  font-size: 1.1em;
  color: #999;
}

.tl-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

.duration-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 50px;
}
.duration-badge.with-plan {
  font-size: 0.85em;
  flex-direction: column;
  line-height: 1.2;
}
.duration-badge.with-plan .badge-actual {
  font-size: 0.9em;
}
.duration-badge.with-plan .badge-plan {
  font-size: 0.75em;
  opacity: 0.8;
}
.duration-badge.actual-only {
  font-size: 0.9em;
}
.duration-badge.plan-only {
  font-size: 0.9em;
  background: #3e6fb4;
  color: #fff;
}
.duration-badge.zero, .duration-badge.empty {
  background: #ffcccc;
  color: #333;
}
.duration-badge.logged {
  background: #ccffcc;
  color: #333;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.7em;
  font-weight: 600;
  flex-shrink: 0;
}

.btn-edit-time {
  background: #3e6fb4;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 0.85em;
  padding: 0 12px;
  border-radius: 6px;
  line-height: 1;
  height: 50px;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-edit-time i {
  font-size: 1.2em;
}
.btn-edit-time:hover {
  opacity: 0.85;
}

.btn-work {
  color: #fff;
  border: none;
  padding: 0 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85em;
  white-space: nowrap;
  height: 50px;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-work i {
  font-size: 1.2em;
}
.btn-work:hover {
  opacity: 0.85;
}
.btn-work.btn-start {
  background: #27ae60;
}
.btn-work.btn-stop {
  background: #e74c3c;
}
.btn-work.btn-continue {
  background: #3e6fb4;
}

.button-link-blue {
  background: #3e6fb4;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
  transition: opacity 0.2s ease;
}
.button-link-blue:hover {
  opacity: 0.9;
}
.button-link-blue:disabled {
  opacity: 0.6;
}

.button-link-grey {
  background: #95a5a6;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
  transition: opacity 0.2s ease;
}
.button-link-grey:hover {
  opacity: 0.9;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  overflow-y: auto;
}
.modal-overlay.dark {
  background: rgba(0, 0, 0, 0.7);
}
.modal-overlay.darker {
  background: rgba(0, 0, 0, 0.6);
}
.modal-overlay.loading {
  background: rgba(0, 0, 0, 0.9);
  z-index: 20000;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f5f5f5;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s;
}
.modal-close-btn:hover {
  background: #e0e0e0;
}

.modal-title {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-title i {
  font-size: 1.2em;
  color: #3e6fb4;
}

.modal-form-group {
  margin-bottom: 14px;
}

.modal-label {
  display: block;
  font-size: 0.85em;
  color: #666;
  margin-bottom: 4px;
  font-weight: 600;
}

.modal-input,
.modal-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
  background: #fff;
}

.modal-select {
  cursor: pointer;
}

.modal-button-group {
  display: flex;
  gap: 10px;
}

.modal-save-btn {
  flex: 1;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
}

.modal-cancel-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
}

.modal-status {
  margin-top: 12px;
  min-height: 20px;
  font-size: 0.85em;
}

.edit-time-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
}

.edit-time-modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 28px 30px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.edit-time-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #f5f5f5;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s;
}
.edit-time-close-btn:hover {
  background: #e0e0e0;
}

.scan-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  overflow-y: auto;
  display: none;
}
.scan-modal.is-open {
  display: block;
}

.scan-modal-content {
  position: relative;
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.scan-modal-title {
  margin: 0 0 20px 0;
  color: #333;
}

.scan-choice-buttons {
  margin-bottom: 20px;
}

.scan-choice-btn {
  font-size: 16px;
}
.scan-choice-btn:not(:last-child) {
  margin-right: 10px;
}

.scan-container {
  display: none;
  margin-bottom: 15px;
}

.scan-video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}
.scan-video-container.receipt {
  aspect-ratio: 0.7/1;
}
.scan-video-container.card {
  aspect-ratio: 1.6/1;
}
.scan-video-container video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.scan-video-container canvas {
  display: none;
}

.scan-video-buttons {
  margin-top: 15px;
}

.scan-video-btn:not(:last-child) {
  margin-right: 10px;
}

.scan-upload-input {
  padding: 10px;
  width: 100%;
  border: 2px dashed #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.scan-preview-container {
  display: none;
  margin-bottom: 15px;
}

.scan-preview-image {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}
.scan-preview-image img {
  width: 100%;
  display: block;
}

.scan-preview-buttons {
  margin-top: 15px;
}

.scan-preview-btn:not(:last-child) {
  margin-right: 10px;
}
.scan-preview-btn#rcptScanBtn, .scan-preview-btn#cardScanBtn {
  padding: 12px 32px !important;
}

.scan-status {
  margin-top: 15px;
  text-align: center;
  min-height: 30px;
}
.scan-status .error-message {
  color: red;
  padding: 15px;
  background: #fee;
  border-radius: 8px;
}

.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 20000;
  justify-content: center;
  align-items: center;
}

.loading-content {
  text-align: center;
  color: #fff;
}

.loading-spinner {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.loading-title {
  margin: 0 0 10px 0;
  font-size: 1.8em;
}

.loading-message {
  margin: 0;
  font-size: 1.1em;
  opacity: 0.8;
}

@media (max-width: 700px) {
  .tl-grid {
    grid-template-columns: 1fr !important;
  }
  .tl-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
  .tl-row-content {
    order: 1;
  }
  .tl-row-actions {
    order: 2;
    flex-wrap: wrap;
    gap: 10px;
  }
  .tl-row-date {
    order: 0;
    margin-bottom: 4px;
  }
  .tl-row-project {
    font-size: 1.15em;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.5;
  }
  .btn-work,
  .btn-edit-time,
  .tl-time-label {
    flex: 1;
    min-width: 120px;
    min-height: 44px;
  }
  .duration-badge {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }
}
.address-search-container {
  position: relative;
  width: 100%;
}

.address-search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: inherit;
}
.address-search-input:focus {
  outline: none;
  border-color: #3e6fb4;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.address-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.address-search-item {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  font-size: 0.85em;
  line-height: 0.7em;
  transition: background 0.15s ease;
}
.address-search-item:hover {
  background: #f5f5f5;
}
.address-search-item:last-child {
  border-bottom: none;
}
.address-search-item strong {
  display: block;
  color: #333;
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .dashboard-buttons-grid {
    gap: 8px !important;
  }
}
.project-state-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 16px 0;
  flex-wrap: wrap;
}
.project-state-tabs .state-tab {
  padding: 6px 14px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.project-state-tabs .state-tab:hover {
  background: #f2f4f7;
}
.project-state-tabs .state-tab.active {
  background: #1570ef;
  color: #fff;
  border-color: #1570ef;
  font-weight: 600;
}/*# sourceMappingURL=apigoat.css.map */