:root {
  --primary-color: #198754;
  --disabled-bg: #e9ecef;
  --editable-bg: #f8f9fa;
  --border-color: #dee2e6;
}

/* Remove loading overlay styles and update with progress bar styles */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  z-index: 9999;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(to right, #198754, #25b070);
  transition: width 0.3s ease-out;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes slow-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes highlight {
  0% { background-color: rgba(25, 135, 84, 0.2); }
  100% { background-color: white; }
}

.highlight-new {
  animation: highlight 3s ease-out;
}

.status-blinking {
  animation: slow-blink 2s ease-in-out infinite;
}

body {
  font-family: 'Google Sans', sans-serif;
  background: #1987540d;
}

.placas-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.placa-item {
  background-color: white;
  padding: 0.75rem;
  border-radius: 0;
  box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
  display: grid;
  grid-template-columns: 16px 81px 135px 43px auto 100px 140px 50px;
  gap: 0.5rem;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.placa-item:hover {
  background-color: rgba(25, 135, 84, 0.05);
}

.placa-item-facil {
  background-color: white;
  padding: 10px 20px;
  border-radius: 0;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 10px;
}

.placa-item-facil:hover {
  background-color: rgba(25, 135, 84, 0.05);
}

.placa-info-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.placa-address-container {
  flex: 1;
  overflow: hidden;
}

.endereco-info {
  font-size: 18px;
  font-weight: 500;
  color: #333338;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
}

.status-text {
  white-space: nowrap;
  font-weight: 500;
  font-size: 14px;
  padding: 4px 8px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  min-width: 140px;
  text-align: center;
}

.placa-info-secondary {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  color: #6c757d;
}

.placa-date {
  white-space: nowrap;
}

.quantidade {
  display: flex;
  align-items: center;
  gap: 4px;
}

.quantity-badge {
  background-color: #f8f9fa;
  padding: 2px 6px;
  border: 1px solid #dee2e6;
  font-weight: 500;
  color: #333338;
}

.placa-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-action {
  padding: 4px 8px;
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  transition: color 0.15s ease;
}

.btn-action:hover {
  color: #333338;
}

.btn-action.edit-btn {
  color: #198754;
}

.btn-action.edit-btn:hover {
  color: #146c43;
}

.btn-action.delete-btn {
  color: #dc3545;
}

.btn-action.delete-btn:hover {
  color: #b02a37;
}

.btn-action.disabled-look {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-action i {
  font-size: 16px;
}

.edit-link {
  font-size: 12px;
  color: #198754;
  text-decoration: none;
}

.edit-link:hover {
  text-decoration: underline;
}

.status-btn {
  width: 29px;
  height: 20px;
  border: 1px solid #dee2e6;
  background-color: #dee2e6;
  cursor: pointer;
  transition: background-color 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.status-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.status-btn.disabled-look {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #f8f9fa;
  color: #6c757d;
}

.status-group {
  display: flex;
  gap: 5px;
}

.status-toggle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.toggle-date {
  font-size: 12px;
  color: #6c757d;
}

.toggle-switch,
.slider,
.slider:before,
input:checked + .slider,
input:checked + .slider:before {
  display: none;
}

.action-buttons {
  display: flex;
  gap: 0.25rem;
  justify-content: flex-end;
}

.editable {
  background-color: var(--editable-bg);
  border-radius: 0;
}

.disabled {
  background-color: var(--disabled-bg);
  border-radius: 0;
}

.form-control, .form-select, .btn {
  border-radius: 0;
}

.form-control.editable:focus,
.form-select.editable:focus {
  background-color: var(--editable-bg);
}

.form-control.disabled,
.form-select.disabled {
  background-color: var(--disabled-bg);
}

.form-control, .form-select {
  padding: 0.375rem 0.5rem;
  font-size: 0.875rem;
}

.user-id {
  font-size: 0.75rem;
  color: #6c757d;
}

/* Mobile preview styles */
.mobile-preview {
  max-width: 480px !important;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  border-radius: 0;
  padding: 20px 10px;
  position: relative;
}

.mobile-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 20px;
  background: #e9ecef;
  border-radius: 0;
}

@media (max-width: 768px) {
  .placa-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .status-group {
    justify-content: space-between;
    width: 100%;
    padding: 0.25rem 0;
  }
  
  .action-buttons {
    justify-content: flex-end;
    width: 100%;
    padding: 0.25rem 0;
  }

  .btn-action i {
    font-size: 1.5rem;
  }

  .form-control, .form-select {
    font-size: 1rem;
    padding: 0.5rem;
  }
  
  header .position-absolute {
    position: static !important;
    padding: 0 !important;
    margin-bottom: 15px;
  }

  header .d-flex.gap-2 {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .mobile-header-links {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .mobile-header-links a {
    color: #6c757d;
    text-decoration: none;
  }

  .mobile-header-links .separator {
    color: #dee2e6;
    margin: 0 4px;
  }

  .mobile-hide-on-small {
    display: none !important;
  }
}

.mobile-header-links {
  display: none;
}

@media (max-width: 768px) {
  .mobile-header-links {
    display: flex;
  }
}

span#currentPageDisplay {
    border-color: #333338;
    background-color: #333338;
}

h1 {
    color: #333338;
}

span {color: #333338;}

button#helpButton {
    background: none;
    border: 0;
    font-size: 30px;
}

.status-text.disponivel {}

.status-text {
    font-size: 14.5px;
    color: var(--primary-color);!i;!;
}

select#itemsPerPage {
    width: 133px !important;
    height: 38px;
}

a.page-link {
    border-radius: 0px !important;
}

h1 {
    color: #333338;
    font-size: x-large;
    margin-left: 15px;
}

.placas-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  padding: 0.5rem;
  /* border: 1px solid #dee2e6; */
  margin-top: 30px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toolbar-actions .form-check-input {
  margin: 0;
  margin-right: 0.25rem;
}

.toolbar-actions .form-check-label {
  display: none;
  font-size: 0.875rem;
}

.bulk-actions {
  display: none;
  margin-top: 10px;
  background-color: #f8f9fa;
  padding: 10px;
  border: 1px solid #dee2e6;
}

.bulk-actions.show {
  display: block;
}

.bulk-actions .btn-sm {
  margin-right: 0.5rem;
}

.toolbar-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toolbar-search input {
  margin-right: 0;
  height: 35px;
}

.placas-toolbar .btn-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 35px!important;!importan;!importa;!import;!impor;!impo;!imp;!im;!i;!;
  padding: 0;
  background-color: white;
  border-color: #dee2e6;
}

.placas-toolbar .btn-sm i {
  font-size: 16px;
}

.toolbar-separator {
  width: 1px;
  height: 24px;
  background-color: #dee2e6;
  margin: 0 0.5rem;
}

.date-picker-container {
  position: relative;
}

.datepicker-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  margin-top: 0.25rem;
  padding: 0.5rem;
}

.calendar {
  width: 280px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.calendar-header span {
  font-weight: 500;
  font-size: 1.1rem;
}

.calendar-nav {
  border: none;
  background: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: #6c757d;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.calendar-nav:hover {
  color: var(--primary-color);
}

.calendar-nav.prev-month,
.calendar-nav.next-month {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.calendar-nav.prev-month:hover,
.calendar-nav.next-month:hover {
  background-color: #e9ecef;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.calendar-day:hover {
  background-color: #f8f9fa;
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day.has-records {
  font-weight: bold;
  color: var(--primary-color);
}

.calendar-day.selected {
  background-color: var(--primary-color);
  color: white;
}

.record-indicator {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

header {
  position: relative;
  min-height: 60px;
}

#dynamicGreeting {
  color: #333338;
  font-size: 14px;
  margin-right: 1rem;
}

.btn-success {
  border-radius: 0;
  background-color: #198754;
  border-color: #198754;
}

.btn-success:hover {
  background-color: #157347;
  border-color: #146c43;
}

.position-absolute {
  z-index: 1000;
}

#profileBtn, #logoutBtn {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.badge {
  padding: 0.4em 0.8em;
  font-size: 0.75rem;
  font-weight: normal;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 4px;
}

.badge .btn-close {
  padding: 0.2em;
  margin-left: 0.5em;
  font-size: 0.8em;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  /* padding: 0.5rem; */
  min-height: 2.5rem;
  /* border: 1px solid #dee2e6; */
  border-radius: 0.25rem;
  margin-top: 6px;
  width: 100%;
}

.tag-input-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.tag-input-container input {
  padding-right: 120px; /* Make room for the button */
}

.tag-input-container .tag-ok-btn {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12PX;
  /* padding: 4px 8px; */
  white-space: nowrap;
  height: 100%;
}

.tag-ok-btn {
  margin: 0;
  height: calc(100% - 10px);
  min-height: 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.tag-ok-btn:hover {
  background-color: darken(var(--primary-color), 10%);
}

input, span, div, button, textarea, select, img, a, p, 
h1, h2, h3, h4, h5, h6, table, th, td, ul, ol, li, form, 
nav, header, footer, section, article, aside, canvas {
    border-radius: 0px !important;
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.i.bi.bi-eye-fill {
    font-size: 17px;
}

.status-tabs {
  margin-top: 17px;
  margin-bottom: 24px;
  position: relative;
}

.tabs-scroll-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-tabs .nav-tabs {
  /* border-bottom: 1px solid #dee2e6; */
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  margin: 0 40px; /* Make room for scroll buttons */
}

/* Hide scrollbar */
.status-tabs .nav-tabs::-webkit-scrollbar {
  display: none;
}

.status-tabs .nav-link {
  border: none;
  color: #6c757d;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  transition: all 0.2s ease;
}

.status-tabs .nav-link:hover {
  border-bottom: 2px solid #dee2e6;
}

.status-tabs .nav-link.active {color: #198754;border-bottom: 2px solid #ffffff;font-weight: 500;border-right: 1px solid #c0c0c0;border-top: 1px solid #198754;border-left: 1px solid #198754;border-color: #c0c0c0;border-bottom: 1px solid #FFF;}

button#helpButton {
    background: none;
    border: 0;
    font-size: 30px;
}

.status-tabs .count {
  font-size: 0.8rem;
  color: #6c757d;
  margin-left: 0.25rem;
}

.status-tabs .nav-link.active .count {
  color: #198754;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none!important;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1;
}

.scroll-btn:hover {
  background: #f8f9fa;
}

.scroll-btn.scroll-left {
  left: 0;
}

.scroll-btn.scroll-right {
  right: 0;
}

.scroll-btn i {
  font-size: 1rem;
  color: #6c757d;
}

@media (max-width: 768px) {
  .status-tabs .nav-tabs {
    margin: 0 32px;
  }
  
  .scroll-btn {
    width: 28px;
    height: 28px;
  }
  
  .status-tabs .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}

.btn-power {
  background: none;
  border: none;
  color: #dc3545;
  padding: 8px;
  line-height: 1;
  transition: all 0.2s ease;
}

.btn-power:hover {
  color: #bb2d3b;
  transform: scale(1.1);
}

.btn-power .bi-power {
  font-size: 20px;
}

#editProfileModal .modal-content {
  border-radius: 0;
}

#editProfileModal .modal-body {
  padding: 2rem;
}

#editProfileModal .form-control {
  border-radius: 0;
  padding: 0.5rem 0.75rem;
}

#editProfileModal .form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

#editProfileModal .modal-footer {
  padding: 1rem 2rem;
  border-top: 1px solid #dee2e6;
}

#editProfileModal .btn {
  padding: 0.5rem 1.5rem;
}

.modal-content {
  border-radius: 0;
  padding: 13px 0px;
}

.modal-body {
  padding: 2rem;
}

.form-control,
.form-select {
  border-radius: 0;
}

ul#myTab {
    overflow: hidden;
    border-bottom: 0;
}

button.btn.btn-sm.btn-outline-secondary.add-category-btn {
    padding: 10px 2px 10px 0px;
    font-size: 0.75rem;
    font-weight: normal;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    height: 22px;
}

a#billingLink {
    font-size: 14px;
    text-decoration: none;
    color:  #6c757d;
}

body {
            background-color: #f8f9fa;
        }
        .container {
            max-width: 1000px;
            margin: 40px auto;
            background: white;
            padding: 26px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
            border-radius: 10px;
            padding-top: 46px!important;
        }
        .header {
            border-bottom: 2px solid #dee2e6;
            margin-bottom: 30px;
            padding-bottom: 20px;
        }

a#billingLink:hover {
    color: #333338;
}

.d-flex.justify-content-between.align-items-center {}

.d-flex.align-items-center.gap-3 {
    margin-left: 12px;
    zoom: 0.9;
}

.d-flex.justify-content-center.align-items-center {zoom: 0.8;}

button#waiting-tab {}

.status-tabs .nav-link.active:hover {
    border-bottom: 1px solid #FFF;
}

.category-tag {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.category-tag:hover {
  background-color: #5a6268;
}

 /* Add any additional custom styles here */
    .modal-dialog {
      max-width: 400px; /* Adjusted for better viewing experience */
    }
    #system-requirements {
      background-color: #f8f9fa;
      border-top: 1px solid #dee2e6;
      padding: 20px;
      margin-top: 30px;
      font-size: 0.9rem;
    }
    #system-requirements h2 {
      color: #333338;
      border-bottom: 2px solid #198754;
      padding-bottom: 10px;
      margin-bottom: 15px;
    }
    #system-requirements ul {
      padding-left: 20px;
    }
    #system-requirements .status-tag {
      display: inline-block;
      padding: 2px 6px;
      border-radius: 0px;
      margin-left: 10px;
      font-size: 0.8rem;
    }
    #system-requirements .status-todo { 
      background-color: #dc3545;
      color: white;
    }
    #system-requirements .status-inprogress {
      background-color: #ffc107;
      color: black;
    }
    #system-requirements .status-done {
      background-color: #198754;
      color: white;
    }
    
    #login-section {
    max-width: 400px;
    margin: 0 auto;
    padding: 46px 40px;
    background-color: white;
    border-radius: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    } 
      
    .progress-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: #f0f0f0;
      height: 5px;
    }
    .progress-bar {
      background-color: #198754;
      width: 0%;
      height: 100%;
      transition: width 0.1s ease-in-out;
    }

    .status-tabs {
      margin-top: 1rem;
    }
    
    .status-tabs .nav-tabs {
      border-bottom: 1px solid #dee2e6;
      display: flex;
      flex-wrap: nowrap;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    
    .status-tabs .nav-link {
      border: none;
      color: #6c757d;
      padding: 4px 33px;
      font-size: 12px;
      white-space: nowrap;
      cursor: pointer;
      background: none;
      border-bottom: 1px solid #c0c0c0;
    }
    
    .status-tabs .nav-link:hover {
      border-bottom: 2px solid #dee2e6;
    }
    
    .status-tabs .nav-link.active {
      color: #198754;
      /* border-bottom: 2px solid #198754; */
      font-weight: 500;
    }
    
    .status-tabs .count {
      font-size: 0.8rem;
      color: #6c757d;
      margin-left: 0.25rem;
    }
    
    .status-tabs .nav-link.active .count {
      color: #198754;
    }
    
    @media (max-width: 768px) {
      .status-tabs .nav-tabs {
        padding-bottom: 4px;
      }
      .status-tabs .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
      }
    }
    
    .separator {
      color: #adb5bd;
    }
    
    .btn-link {
      color: #6c757d;
    }
    
    #logoutBtn {
      color: #6c757d;
      background: none;
      border: none;
      padding: 0;
      line-height: 1;
    }
    
    #logoutBtn:hover, .btn-link:hover {
      color: #333338;
    }
    
    .mobile-header-links {
      display: none;
      width: 100%;
      justify-content: flex-end;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      margin-bottom: 15px;
    }
    
    .mobile-header-links a {
      color: #6c757d;
      text-decoration: none;
    }
    
    .mobile-header-links a:hover {
      color: #333338;
    }
    
    @media (max-width: 768px) {
      .mobile-header-links {
        display: flex;
      }
    }
    
    /* Mobile menu drawer styles */
    .mobile-menu-drawer {
      position: fixed;
      top: 0;
      right: -280px; /* Start off-screen */
      width: 280px;
      height: 100vh;
      background-color: white;
      z-index: 9999;
      box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
      transition: right 0.3s ease;
      overflow-y: auto;
    }
    
    .mobile-menu-drawer.open {
      right: 0;
    }
    
    .mobile-menu-content {
      padding: 20px 0;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    
    .mobile-menu-header {
      padding: 0 20px 20px;
      border-bottom: 1px solid #dee2e6;
      display: flex;
      justify-content: flex-end;
    }
    
    .mobile-menu-items {
      padding: 20px 0;
      flex-grow: 1;
    }
    
    .mobile-menu-item {
      display: flex;
      align-items: center;
      padding: 12px 20px;
      color: #333338;
      text-decoration: none;
      border-bottom: 1px solid #f8f9fa;
      font-size: 1rem;
    }
    
    .mobile-menu-item:hover {
      background-color: #f8f9fa;
    }
      
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 9998;
      display: none;
    }
    
    .overlay.show {
      display: block;
}

/* Add notification styles */
.notification-list {
  max-height: 400px;
  overflow-y: auto;
}

.notification-item {
  padding: 15px;
  border-bottom: 1px solid #dee2e6;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.notification-meta {
  font-size: 0.85em;
  color: #6c757d;
  margin-top: 5px;
} 