﻿html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
body {
  margin-bottom: 60px;
}

.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 rgb(37, 140, 251);
}

.multi-value-input .selected-tags .badge {
  margin: 2px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.multi-value-select {
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
}
.multi-value-select:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.filter-controls {
  transition: all 0.3s ease;
}

.selected-values-display {
  min-height: 30px;
}

.load-values-btn:disabled {
  opacity: 0.6;
}

.manual-input-area {
  margin-top: 10px;
}

.manual-values-input {
  resize: vertical;
  min-height: 60px;
}

.column-tiles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 4px;
  min-height: 100px;
  border: 1px solid #ced4da;
}

.column-tile {
  display: flex;
  align-items: center;
  background-color: white;
  border: 2px solid #ced4da;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: move;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  user-select: none;
}
.column-tile:hover {
  border-color: #0d6efd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.column-tile.sortable-ghost {
  opacity: 0.4;
  background-color: #e9ecef;
}
.column-tile.sortable-drag {
  opacity: 0.9;
  transform: rotate(2deg);
}
.column-tile.sortable-chosen {
  border-color: #198754;
}
.column-tile:focus {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

.tile-drag-handle {
  color: #6c757d;
  margin-right: 8px;
  cursor: grab;
  display: flex;
  align-items: center;
}
.tile-drag-handle:active {
  cursor: grabbing;
}
.tile-drag-handle i {
  font-size: 14px;
}

.column-tile-info {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #6c757d;
  margin-left: 8px;
}

@media (max-width: 767px) {
  .column-tile {
    width: 100%;
    min-width: 100%;
  }
}
.collapse-icon {
  transition: transform 0.2s ease-in-out;
}

[data-bs-toggle=collapse][aria-expanded=true] .collapse-icon {
  transform: rotate(90deg);
}

[data-bs-toggle=collapse][aria-expanded=false] .collapse-icon {
  transform: rotate(0deg);
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}
