/* This file is created by Leonardo Koleci */
@font-face {
  font-family: "Roboto";
  src: url("/main/fonts/roboto/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("/main/fonts/roboto/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("/main/fonts/roboto/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ===== Global Modern Style by Leonardo Koleci ===== */

html,
body {
  font-family: "Roboto", "Poppins", "Inter", "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  min-width: 0px;
}

.notifications-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 8px;
  background: linear-gradient(
    135deg,
    rgba(245, 247, 250, 0.25),
    rgba(195, 207, 226, 0.25)
  );
  color: #1a1a1a;
  border-radius: 12px;
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border: 1.5px solid rgba(200, 210, 230, 0.7); /* more visible border */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.notifications-count i {
  font-size: 0.65rem;
  color: #2d7cff; /* accent color for the icon */
}

.notifications-count:hover {
  box-shadow: 0 4px 10px rgba(45, 124, 255, 0.15);
  background: linear-gradient(
    135deg,
    rgba(245, 247, 250, 0.4),
    rgba(195, 207, 226, 0.35)
  );
  border-color: rgba(180, 190, 210, 0.9); /* brighter on hover */
}
/* Default: sidebar always visible on large screens */
#aside_left {
  position: fixed;
  height: 100vh;
  width: 300px;
  top: 0;
  left: 0;
  z-index: 99;
  padding: 100px 10px;
  box-sizing: border-box;

  /* Glass effect */
  background: rgba(255, 255, 255, 0.77); /* semi-transparent */
  backdrop-filter: blur(10px); /* blur the background behind it */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  border-right: 1px solid rgba(255, 255, 255, 0.507); /* subtle border */
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); /* optional shadow */

  overflow-y: auto;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

#hamburger {
  display: none; /* show button */
}
/* On small screens ≤800px, make sidebar collapsible and show hamburger */
@media (max-width: 1000px) {
  #page_container314 {
    padding-left: 0px !important;
    padding: 10px !important;
  }
  #aside_left {
    transform: translateX(-560px); /* hidden by default */
  }

  #aside_left.active {
    transform: translateX(0); /* slide in */
  }

  #hamburger {
    display: inline-flex; /* keeps it inline but allows flex alignment */
    align-items: center; /* vertically center the ☰ icon */
    justify-content: center; /* horizontal centering inside button */
    width: 40px; /* fixed size */
    height: 40px; /* match navbar height */
    font-size: 20px; /* icon size */
    background: none; /* remove default button style */
    border: none; /* remove default button border */
    color: #fff; /* icon color */
    cursor: pointer; /* pointer on hover */
    padding: 0; /* remove default padding */
  }

  #login_page #login_page_toplogo {
    width: 100%;
    background: url("../../picture/logo_trans.png") top no-repeat;
  }

  #login_page_back {
    display: none;
  }

  #login_page {
    background-color: #002452;
  }

  #login_page #login_page_form {
    top: 60%;
  }

  #down_copy_caption_id {
    display: none;
  }

  #down_copy_link_id {
    display: none;
  }

  /* } */

  #login_page_footer {
    min-width: 0px;
  }

  #login_page #login_page_toplogo {
    background: url("../../picture/logo_trans.png") top no-repeat;
  }

  #top_li_help {
    display: none;
  }

  #top_user_text {
    display: none;
  }

  #top_links li #top_user {
    padding-left: 16px;
  }

  #top_links li #top_exit {
    padding-left: 16px;
  }

  #top_exit_text {
    display: none;
  }

  #top_search {
    position: relative;
    width: 150px;
  }

  #top_search #top_field {
    width: 105px;
  }

  footer {
    display: none;
  }

  #div_nav_text_id {
    display: none;
  }

  #filter_button_id {
    width: 100%;
  }

  #top_region {
    display: none;
  }

  #top_links li #top_region {
    padding-left: 13px;
    border-bottom: none;
  }
}
#nav_id {
  padding-left: 30px !important;
}

/* Stack main table cells on screens <= 1400px */
@media (max-width: 1400px) {
  /* Make the main table, its direct rows, and their direct cells block */
  table.task-actions,
  table.task-actions > tbody,
  table.task-actions > tbody > tr,
  table.task-actions > tbody > tr > td,
  table.task-actions > thead,
  table.task-actions > thead > tr,
  table.task-actions > thead > tr > th {
    display: block;
  }

  /* Hide header row */
  table.task-actions > thead {
    display: none;
  }

  /* Row styling */
  table.task-actions > tbody > tr {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    padding: 0.5rem;
  }

  /* Only stack direct td children of main table rows */
  table.task-actions > tbody > tr > td {
    padding: 0.5rem 0;
    border: none;
    width: 100%;
    box-sizing: border-box;
  }

  /* Optional: show label before each cell (requires data-label) */
  table.task-actions > tbody > tr > td::before {
    content: attr(data-label);
    font-weight: 600;
    display: inline-block;
    width: 50%;
  }
}
.actions {
  display: flex;
  justify-content: flex-start; /* align left, change to center/right if needed */
  margin: 10px 0;
}
.btn-small {
  background: #007bff; /* primary blue */
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 5px 12px; /* small but clickable */
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-small:hover {
  background: #0069d9;
  transform: translateY(-1px);
}

.btn-small:active {
  background: #005cbf;
  transform: translateY(0);
}

.signal-btn-simple {
  padding: 3px 8px;
  font-size: 12px;
  border: 1px solid #b5b5b5;
  background: #f2f2f2;
  color: #333;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.signal-btn-simple:hover {
  background: #e6e6e6;
}

.signal-btn-simple:active {
  background: #dcdcdc;
}

.signal-btn-simple i {
  font-size: 12px;
}

.warehouse-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 10px 0;
}

.warehouse-field {
  display: flex;
  flex-direction: column;
  min-width: 200px;
}

.warehouse-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.item-select-input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.item-select-input:focus {
  outline: none;
}

.red_text {
  color: #c0392b;
  font-weight: 600;
}
.inv-transfer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.inv-transfer-header {
  background: #ffffff;
  border-bottom: 3px solid #0d6efd;
  padding: 24px 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.inv-transfer-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #212529;
}

.inv-transfer-form {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.inv-transfer-section {
  background: #ffffff;
  border: 1px solid #dee2e6;
  padding: 32px;
  margin-bottom: 16px;
  position: relative;
}

.inv-transfer-field {
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: start;
}

.inv-transfer-label {
  font-weight: 600;
  color: #495057;
  padding-top: 8px;
  font-size: 14px;
}

.inv-transfer-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-transfer-input {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  font-size: 14px;
  background: #ffffff;
  color: #212529;
  transition: border-color 0.15s ease-in-out;
}

.inv-transfer-input:focus {
  outline: none;
  border-color: #0d6efd;
}

.inv-transfer-input::placeholder {
  color: #6c757d;
}

.inv-transfer-btn-primary {
  background: #0d6efd;
  color: #ffffff;
  border: 1px solid #0d6efd;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.inv-transfer-btn-primary:hover {
  background: #0b5ed7;
  border-color: #0a58ca;
}

.inv-transfer-btn-add {
  background: #198754;
  color: #ffffff;
  border: 1px solid #198754;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.inv-transfer-btn-add:hover {
  background: #157347;
  border-color: #146c43;
}

.inv-transfer-btn-remove {
  background: #dc3545;
  color: #ffffff;
  border: 1px solid #dc3545;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  margin-top: 16px;
}

.inv-transfer-btn-remove:hover {
  background: #bb2d3b;
  border-color: #b02a37;
}

.inv-transfer-alert {
  background: #f8d7da;
  color: #842029;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid #f5c2c7;
}

.inv-transfer-link {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
}

.inv-transfer-link:hover {
  text-decoration: underline;
}

.inv-transfer-search-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-transfer-divider {
  height: 1px;
  background: #dee2e6;
  margin: 20px 0;
}

.inv-transfer-section-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #e9ecef;
  color: #495057;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #dee2e6;
}

.inv-transfer-buttons-container {
  display: flex;
  gap: 12px;
  padding: 24px 32px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.inv-transfer-search-label {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 4px;
  display: block;
  font-weight: 500;
}

.inv-transfer-unit {
  color: #6c757d;
  font-size: 14px;
}

@media (max-width: 768px) {
  .inv-transfer-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .inv-transfer-label {
    padding-top: 0;
  }

  .inv-transfer-wrapper {
    padding: 12px;
  }

  .inv-transfer-header {
    padding: 16px;
  }

  .inv-transfer-section {
    padding: 20px;
  }

  .inv-transfer-buttons-container {
    flex-direction: column;
    padding: 20px;
  }
}
.inv-transfer-btn-cancel {
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  color: #333;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.inv-transfer-section {
  background: #ffffff;
  border: 1px solid #dee2e6;
  padding: 32px;
  margin-bottom: 16px;
  position: relative;
}

.inv-transfer-field {
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: start;
}

.inv-transfer-label {
  font-weight: 600;
  color: #495057;
  padding-top: 8px;
  font-size: 14px;
}

.inv-transfer-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-transfer-input {
  padding: 8px 12px;
  border: 1px solid #ced4da;
  font-size: 14px;
  background: #ffffff;
  color: #212529;
  transition: border-color 0.15s ease-in-out;
}

.inv-transfer-input:focus {
  outline: none;
  border-color: #0d6efd;
}

.inv-transfer-input::placeholder {
  color: #6c757d;
}

.inv-transfer-btn-primary {
  background: #0d6efd;
  color: #ffffff;
  border: 1px solid #0d6efd;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.inv-transfer-btn-primary:hover {
  background: #0b5ed7;
  border-color: #0a58ca;
}

.inv-transfer-btn-add {
  background: #198754;
  color: #ffffff;
  border: 1px solid #198754;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.inv-transfer-btn-add:hover {
  background: #157347;
  border-color: #146c43;
}

.inv-transfer-btn-remove {
  background: #dc3545;
  color: #ffffff;
  border: 1px solid #dc3545;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  margin-top: 16px;
}

.inv-transfer-btn-remove:hover {
  background: #bb2d3b;
  border-color: #b02a37;
}

.inv-transfer-alert {
  background: #f8d7da;
  color: #842029;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid #f5c2c7;
}

.inv-transfer-link {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
}

.inv-transfer-link:hover {
  text-decoration: underline;
}

.inv-transfer-search-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-transfer-divider {
  height: 1px;
  background: #dee2e6;
  margin: 20px 0;
}

.inv-transfer-section-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #e9ecef;
  color: #495057;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #dee2e6;
}

.inv-transfer-buttons-container {
  display: flex;
  gap: 12px;
  padding: 24px 32px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.inv-transfer-search-label {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 4px;
  display: block;
  font-weight: 500;
}

.inv-transfer-unit {
  color: #6c757d;
  font-size: 14px;
}

@media (max-width: 768px) {
  .inv-transfer-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .inv-transfer-label {
    padding-top: 0;
  }

  .inv-transfer-wrapper {
    padding: 12px;
  }

  .inv-transfer-header {
    padding: 16px;
  }

  .inv-transfer-section {
    padding: 20px;
  }

  .inv-transfer-buttons-container {
    flex-direction: column;
    padding: 20px;
  }
}
.inv-transfer-btn-cancel {
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  color: #333;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.inv-transfer-btn-cancel:hover {
  background-color: #e0e0e0;
  border-color: #bbb;
}

.actions {
  display: flex;
  gap: 5px;
}

/* ONT Signal Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal-box {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  overflow: auto;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: "Roboto", sans-serif;
}

.modal-header {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 1.2rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.modal-body {
  padding: 25px;
  background: #f8f9fa;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.signal-card {
  background: white;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.signal-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.signal-icon.rx {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}
.signal-icon.tx {
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
}
.signal-icon.temp {
  background: rgba(253, 126, 20, 0.1);
  color: #fd7e14;
}
.signal-icon.volt {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.signal-label {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 4px;
  font-weight: 500;
}

.signal-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
}

.signal-status-bar {
  grid-column: 1 / -1;
  background: white;
  padding: 15px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #198754;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #198754;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.2);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-bar {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap on mobile */
  gap: 10px;
  align-items: flex-end;
  border: 1px solid #ddd;
}

.filter-bar input {
  flex: 1;
  min-width: 150px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.filter-bar select {
  flex: 1;
  min-width: 150px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.btn-filter {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
}

/* Modal Overlay */
.modal-overlay {
  /* display: none; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto; /* Allows scrolling if modal is taller than screen */
  padding: 10px; /* Space for mobile edges */
  box-sizing: border-box;
}

/* Modal Content - The Responsive Fix */
.modal-content {
  background: white;
  width: 100%;
  max-width: 450px; /* Limits size on desktop */
  margin: 40px auto;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 13px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px; /* Prevents iOS zoom on focus */
}

/* Responsive Mobile Adjustments */
@media (max-width: 480px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .modal-content {
    margin: 20px auto;
    padding: 15px;
  }
  .btn-filter,
  button[type="submit"],
  button[type="button"] {
    width: 100%; /* Full width buttons on mobile */
    margin-bottom: 10px;
    padding: 12px; /* Bigger touch targets */
  }
  div[style*="text-align:right"] {
    text-align: center !important;
  }
}

/* Tab Container */
.view-tabs {
  display: flex;
  background: #f1f1f1;
  padding: 4px;
  border-radius: 8px;
  margin-left: 10px;
}

/* Hide the actual radio button */
.tab-item input[type="radio"] {
  display: none;
}

/* The Tab Label */
.tab-item {
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
  color: #666;
}

/* Active Tab Style */
.tab-item.active {
  background: #fff;
  color: #007bff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-item:hover:not(.active) {
  background: #e9e9e9;
}
/* Container for the whole component */
.custom-tabs {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 20px 0;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px;
  /* Remove border-bottom from here if tabs wrap, 
     otherwise it cuts through the middle of the rows. */
}

.tab-nav li a {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  text-decoration: none;
  color: #555;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  /* Keeping all borders helps when wrapped */
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s;
  white-space: nowrap; /* Prevents text inside the tab from breaking */
}

.tab-nav li a.active {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* Specific styling for the plus icon hover */
.tab-nav li a i:hover {
  transform: scale(1.2);
  color: #218838 !important;
}
/* Table styling for better readability */
.work-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.work-table tr:nth-child(even) {
  background: #fdfdfd;
}
.work-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  color: #333;
}

/* Minimalist fix */
.label-success,
.btn-danger {
  padding: 10px 20px;
  display: inline-block;
  border-radius: 4px;
  font-size: 14px;
  border: none;
}

.label-success {
  background: #28a745;
  color: #fff;
}

.btn-danger {
  background: #dc3545;
  color: #fff;
  cursor: pointer;
}

.btn-danger:hover {
  filter: brightness(90%);
}

.view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f4f4f4;
  padding: 10px;
  border-radius: 8px;
}

.filter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

[class^="task-state-caption_repeated_"] {
  display: inline-block;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
  margin-bottom: 2px;
  vertical-align: middle;
}

.task-state-caption_repeated_1 {
  color: #fff !important;
  background-color: #dc3545 !important;
  padding-left: 3px;
  padding-right: 3px;
  font-size: 12px;
  border: 1px solid #000;
}

.task-state-caption_repeated_2 {
  color: #fff !important;
  background-color: #fd7e14 !important;
  padding-left: 3px;
  padding-right: 3px;
  font-size: 12px;
  border: 1px solid #000;
}

.task-state-caption_repeated_3 {
  color: #212529 !important;
  background-color: #ffc107 !important;
  padding-left: 3px;
  padding-right: 3px;
  font-size: 12px;
  border: 1px solid #000;
}

.mention-tag {
    background-color: #e0f2fe;
    color: #0284c7;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}

/* Stili i div që luan rolin e textarea */
.custom-textarea {
    width: 100%;
    min-height: 80px;
    max-height: 150px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    cursor: text;
}
.custom-textarea:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.autocomplete-dropdown {
    position: fixed; 
    background: white; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    max-height: 150px; 
    overflow-y: auto; 
    z-index: 9999; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}
.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: #f0f8ff;
    font-weight: bold;
}

#tag-reminder-rows.collapsed {
  display: none;
}
.tag-reminder-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin-bottom: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #f9fafb;
}
.tag-reminder-header:hover {
  background: #f3f4f6;
}