:root {
  --primary-color: #198754;
  --primary-green: #008b47;
  --dark-green: #006b35;
  --disabled-bg: #e9ecef;
  --editable-bg: #f8f9fa;
  --border-color: #dee2e6;
  --bg-gray: #e6e6e6;
  --text-dark: #202124;
  --status-green: #0e8045;
  --status-black: #000000;
  --status-blue: #006d91;
  --sign-yellow: #ffcc00;
}

/* 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); }
}

#refreshPlacas.loading i {
  animation: spin 0.6s linear infinite;
}

#refreshPlacas {
  transition: all 0.2s ease;
}

#refreshPlacas:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@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', 'Poppins', sans-serif;
  background: var(--bg-gray);
}

/* ==========================================
   MOBILE-FIRST APP CONTAINER STYLES
   ========================================== */

.app-container {
  width: 100%;
  max-width: 100%;
  background-color: var(--bg-gray);
  position: relative;
  min-height: 100vh;
}

/* Mobile Header */
.mobile-app-header {
  background: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}

.mobile-app-header .logo {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.mobile-app-header .logo span {
  color: var(--primary-green);
}

.mobile-app-header .user-info {
  font-size: 14px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

/* Green Action Bar */
.action-bar {
  background-color: var(--primary-green);
  padding: 12px 15px;
  display: flex;
  gap: 10px;
}

.action-bar .search-input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 2px;
  font-family: inherit;
  outline: none;
  font-size: 14px;
}

.action-bar .btn-add {
  background: white;
  color: var(--primary-green);
  border: none;
  padding: 10px 15px;
  font-weight: bold;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  white-space: nowrap;
}

/* Controls (Filter & Refresh) */
.mobile-controls {
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-gray);
}

.mobile-controls .dropdown-filter {
  background: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}

.mobile-controls .refresh-icon {
  font-size: 20px;
  color: #333;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

/* ==========================================
   MOBILE CARD LIST STYLES
   ========================================== */

.placas-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 15px 20px 15px;
}

/* Mobile Card Style */
.placa-card {
  background: white;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  gap: 12px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.placa-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* Sign/Placa Image */
.placa-card .sign-img {
  width: 80px;
  height: 55px;
  background: var(--sign-yellow);
  border: 2px solid black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 2px;
  align-self: center;
}

.placa-card .sign-img.has-image {
  background: white;
  border: 1px solid #ddd;
  padding: 0;
  overflow: hidden;
}

.placa-card .sign-img.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placa-card .sign-header {
  background: black;
  color: var(--sign-yellow);
  font-weight: 900;
  font-size: 9px;
  padding: 0 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  width: 100%;
  text-align: center;
}

.placa-card .sign-body {
  color: black;
  font-size: 4px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  margin-top: 1px;
  text-transform: uppercase;
}

/* Card Content */
.placa-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.placa-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.placa-card .card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-green);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 8px;
}

.placa-card .menu-dots {
  color: #aaa;
  cursor: pointer;
  padding: 4px;
}

.placa-card .specs-bar {
  background: #f0f0f0;
  color: #333;
  font-size: 10px;
  padding: 4px 8px;
  margin-bottom: 8px;
  border-radius: 2px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.placa-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.placa-card .item-id {
  font-weight: 700;
  font-size: 13px;
  color: var(--primary-green);
}

.placa-card .status-badge {
  font-size: 9px;
  font-weight: bold;
  color: white;
  padding: 5px 8px;
  text-transform: uppercase;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
}

/* Card Color Themes */
.placa-card.status-green .card-title,
.placa-card.status-green .item-id { color: var(--status-green); }
.placa-card.status-green .status-badge { background-color: var(--status-green); }

.placa-card.status-black .card-title,
.placa-card.status-black .item-id { color: var(--status-black); }
.placa-card.status-black .status-badge { background-color: var(--status-black); }

.placa-card.status-blue .card-title,
.placa-card.status-blue .item-id { color: var(--status-blue); }
.placa-card.status-blue .status-badge { background-color: var(--status-blue); }

.placa-card.status-yellow .card-title,
.placa-card.status-yellow .item-id { color: #b8860b; }
.placa-card.status-yellow .status-badge { background-color: #daa520; }

.placa-card.status-gray .card-title,
.placa-card.status-gray .item-id { color: #6c757d; }
.placa-card.status-gray .status-badge { background-color: #6c757d; }

/* ==========================================
   ORIGINAL DESKTOP STYLES (maintained)
   ========================================== */

.placa-item {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  display: grid;
  grid-template-columns: 20px 100px 140px 57px 1fr 129px 159px 60px;
  gap: 0.75rem;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.placa-item:hover {
  background-color: rgba(25, 135, 84, 0.02);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.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;
  zoom: 0.9;
}

.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: 32px;
  height: 32px;
  border: 2px solid #dee2e6;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  border-radius: 6px;
  color: #6c757d;
}

.status-btn:hover:not(.disabled-look) {
  border-color: var(--primary-color);
  background-color: rgba(25, 135, 84, 0.05);
}

.status-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 2px 4px rgba(25, 135, 84, 0.2);
}

.status-btn.disabled-look {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #f8f9fa;
  color: #adb5bd;
}

.status-group {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

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

.status-label {
  font-size: 10px;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1;
}

.toggle-date {
  font-size: 10px;
  color: #adb5bd;
  line-height: 1;
}

.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);
}

.placa-item .form-control,
.placa-item .form-select {
  font-size: 0.875rem;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  padding: 0.5rem 0.75rem;
}

.placa-item .form-control:focus,
.placa-item .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}

.placa-item .form-control:disabled,
.placa-item .form-select:disabled {
  background-color: #f8f9fa;
  opacity: 0.8;
}

.placa-id-container {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.placa-id {
  font-weight: 600;
  color: #198754;
  font-size: 0.875rem;
}

.placa-date {
  font-size: 0.75rem;
  color: #6c757d;
}

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

.multi-select-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.placa-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  border-radius: 4px;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

/* Header menu dropdown styles */
.position-absolute.top-0.end-0 .dropdown-toggle {
  color: #6c757d;
  font-size: 14px;
  padding: 0;
  border: none;
  background: none;
}

.position-absolute.top-0.end-0 .dropdown-toggle:hover {
  color: #333338;
}

.position-absolute.top-0.end-0 .dropdown-toggle i {
  font-size: 14px;
  margin-right: 4px;
}

.position-absolute.top-0.end-0 .separator {
  color: #adb5bd;
  margin: 0 8px;
}

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

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

h1 {
    color: #333338;
}

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

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

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;
  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;
  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;
}

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;
}

.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: 0;
  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;
  min-height: 2.5rem;
  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;
}

.tag-input-container .tag-ok-btn {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12PX;
  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;
}

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;
}

.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 {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 40px;
}

.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;
}

.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);
  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;
}

.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: 0;
    display: inline-flex;
    align-items: center;
    height: 22px;
}

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

body {
    background-color: var(--bg-gray);
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    padding: 26px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 0;
    padding-top: 46px!important;
}

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

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

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

.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;
}

.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;
}

.separator {
  color: #adb5bd;
}

.btn-link {
  color: #6c757d;
}

#logoutBtn {
  color: #6c757d;
  background: none;
  border: none;
  line-height: 1;
}

#logoutBtn:hover, .btn-link:hover {
  color: #333338;
}

/* Mobile menu drawer styles */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  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;
}

.mobile-menu-section {
  margin-bottom: 10px;
}

.mobile-menu-section-title {
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.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;
}

/* 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;
}

img.img-fluid.rounded {
    border: 1px solid #ccc;
}

/* Global border-radius reset */
.btn,
.card,
.modal-content,
.form-control,
.form-select,
.input-group-text,
.dropdown-menu,
.alert,
.toast,
.badge,
.nav-tabs .nav-link,
.accordion-item,
.list-group-item,
.pagination .page-link,
.breadcrumb,
.progress,
.table,
img.rounded,
.rounded {
  border-radius: 0 !important;
}

.btn-close {
  border-radius: 0 !important;
}

.modal-header,
.modal-footer,
.card-header,
.card-footer {
  border-radius: 0 !important;
}

.spinner-border.text-success {
    border-radius: 50%!important;
}

div#editorConfirmPreviewContainer {
    border: 0!important;
}

canvas#editorConfirmCanvas {
    border: 1px solid #ccc;
}

img#modeloPreviewImg {
    padding: 0!important;
}

img.img-fluid {
    border: 1px solid #ccc;
}

/* ==========================================
   MOBILE RESPONSIVE STYLES
   ========================================== */

@media (max-width: 768px) {
  body {
    background-color: var(--bg-gray);
  }

  .container {
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
    box-shadow: none;
  }

  /* Hide desktop header elements */
  .mobile-hide-on-small,
  header .position-absolute {
    display: none !important;
  }

  /* Show mobile header */
  .mobile-header-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #ddd;
  }

  .mobile-header-links #mobileGreeting {
    font-size: 14px;
    color: #333;
  }

  /* Action bar mobile adjustments */
  .action-bar {
    padding: 10px 15px;
  }

  .action-bar .search-input {
    padding: 8px 12px;
    font-size: 14px;
  }

  .action-bar .btn-add {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Hide desktop toolbar, show mobile controls */
  .placas-toolbar {
    display: none;
  }

  /* Status tabs mobile */
  .status-tabs {
    margin-top: 0;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .status-tabs .nav-tabs {
    margin: 0 25px;
  }

  .scroll-btn {
    width: 24px;
    height: 24px;
  }

  .status-tabs .nav-link {
    padding: 8px 12px;
    font-size: 11px;
  }

  /* Cards mobile layout */
  .placas-list {
    padding: 0 12px 20px 12px;
    gap: 10px;
  }

  .placa-card {
    padding: 12px;
    gap: 10px;
  }

  .placa-card .sign-img {
    width: 70px;
    height: 48px;
  }

  .placa-card .sign-header {
    font-size: 8px;
  }

  .placa-card .sign-body {
    font-size: 3.5px;
  }

  .placa-card .card-title {
    font-size: 13px;
  }

  .placa-card .specs-bar {
    font-size: 9px;
    padding: 3px 6px;
    margin-bottom: 6px;
  }

  .placa-card .item-id {
    font-size: 12px;
  }

  .placa-card .status-badge {
    font-size: 8px;
    padding: 4px 6px;
  }

  /* Pagination mobile */
  .d-flex.justify-content-center.align-items-center {
    flex-wrap: wrap;
    gap: 10px;
    zoom: 1;
  }

  select#itemsPerPage {
    width: auto !important;
    font-size: 12px;
    height: 32px;
  }

  #totalItemsDisplay {
    font-size: 12px;
  }

  /* Modal mobile */
  .modal-dialog {
    margin: 0;
    max-width: 100%;
    height: 100%;
  }

  .modal-content {
    height: 100%;
    border-radius: 0;
  }

  .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    padding: 1rem;
  }

  body.modal-open {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  /* Header adjustments */
  header.mb-4 {
    margin-bottom: 0 !important;
  }

  .d-flex.align-items-center.gap-3 {
    margin-left: 0;
    zoom: 1;
    flex-wrap: wrap;
    gap: 8px !important;
    padding: 10px 15px;
    background: white;
  }

  .d-flex.align-items-center.gap-3 h2 {
    font-size: 18px;
  }

  .d-flex.align-items-center.gap-3 button {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .placa-card .sign-img {
    width: 60px;
    height: 42px;
  }

  .placa-card .card-title {
    font-size: 12px;
  }

  .placa-card .status-badge {
    font-size: 7px;
    padding: 3px 5px;
  }
}
