html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Container and row styling */
.site-route-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

    .site-route-table th, .site-route-table td {
        padding: 6px 12px;
        border-bottom: 1px solid #ddd;
        vertical-align: middle;
    }

/* Indentation by depth level */
.site-route-row[data-depth="0"] > td:first-child {
    padding-left: 10px;
}

.site-route-row[data-depth="1"] > td:first-child {
    padding-left: 30px;
    border-left: 3px solid #ccc;
}

.site-route-row[data-depth="2"] > td:first-child {
    padding-left: 50px;
    border-left: 3px solid #bbb;
}

/* ... add more levels as needed */

/* Toggle icon */
.toggle-children {
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    display: inline-block;
    width: 16px;
    text-align: center;
    margin-right: 5px;
    color: #444;
}

    .toggle-children:hover {
        color: #007bff; /* Bootstrap blue */
    }

/* Row hover highlight */
.site-route-row:hover {
    background-color: #f9f9f9;
}

/* Inline editable inputs styling */
.site-route-table input[type="text"],
.site-route-table input[type="number"],
.site-route-table select {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Buttons in last column */
.site-route-table .btn {
    margin-right: 5px;
    padding: 2px 8px;
    font-size: 13px;
}

/* Indicate active row with bold or color */
.site-route-row.active > td:first-child {
    font-weight: 600;
    color: #007bff;
}
