
/* microrouter.css – základní styly */

  body {
    font-family: 'Inter', sans-serif;
  background-color: #f4f4f4!important;
  }

  @font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/Inter.ttf')
    font-weight: 200;
    font-style: normal;
  }

 .offcanvas{
    position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  right: 0px;
  transition: all 0.2s ease;
  z-index: 9999;
  background-color: #f4f4f4;
  display: flex;
  align-items: stretch;
}
  form,
  .offcanvas-body,
  .offcanvas-body * {
    font-family: 'Inter', sans-serif;
  }
.offcanvas-body input,
.offcanvas-body select,
.offcanvas-body textarea,
.offcanvas-body button,
.offcanvas-body label {
  font-family: 'Inter', sans-serif !important;
}

.offcanvas-body input,
.offcanvas-body select,
.offcanvas-body label { font-size:0.8rem!important }

body.offcanvas-backdrop-open .table td,
body.offcanvas-backdrop-open .table th {
  font-size: 13px !important;
  height: 34px !important;
  line-height: 1.2 !important;
}

.table {
  font-family: 'Inter', sans-serif !important;
  background-color: white;
  position: relative;
  z-index: 1;
}


.btn-xs {
  padding: 0.15rem 0.3rem;
  font-size: 0.8rem;
  line-height: 1;
}
.color-box {
  width: 15px;
  height: 15px;
  border: 1px solid #000;
  display: inline-block;
  vertical-align: middle;
}

.table-custom-size {
  font-size: 0.6rem!important; /* nebo 0.9rem, nebo např. smaller */
      border-radius: 15px!important;

}
.table td,
.table th {
  font-family: 'Inter', sans-serif ;
  font-size: 0.7rem;
  line-height: 1.2;
  padding: 4px 10px;
  height: 34px; /* přizpůsob dle vzhledu */
  vertical-align: middle;
}


.table-warning {
  animation: highlightRow 2s ease;
}

.table-highlight {
  animation: highlightRow 2s ease;
}

.table-container {
  overflow-x: auto;
  width: 100%;
}
.small-table {
  font-size: 0.875rem!important; /* nebo třeba 0.75rem pro menší */
}

.small-table td, .small-table th {
  padding: 0.3rem 0.5rem;
}


@keyframes highlightRow {
  0% { color: #fff3cd; }
  100% { color: transparent; }
  0%   { outline: 1px solid orange; }
  100% { outline: none; }
}



.btn-add-route {
  margin-bottom: 1rem;
}

.select-grade {
  max-width: 150px;
}

@media (max-width: 576px) {
  .offcanvas {
    width: 100% !important;
  }
}
.color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.color-swatch {
  width: 30px;
  height: 30px;
  border: 2px solid #ccc;
  cursor: pointer;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border 0.2s ease;
}

.color-swatch.selected {
  border: 3px solid #000;
}
.form-wrapper {
  position: relative;
  background: #f0f8ff;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.close-button {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #999;
}

.close-button:hover {
  color: #000;
}
