/* BODY */
body {
  font-family: 'Montserrat', sans-serif;
  color: #001F3F;
  background-image: url("img/bg.svg");
  background-blend-mode: lighten;
  background-color: rgb(244 255 233 / 60%);
}

.f2 {
  font-family: 'Georgia', serif;
}

/* BOXED LAYOUT */
.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  xbackground: #fff;
  xbox-shadow: 0 0 30px rgba(0,0,0,0.08);
}

/* HEADER */
.header {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-bottom: 1px solid #a5d6a7;
  border-radius: 0px 0px 10px 10px;
}

/* LOGO */
.logo {
  height: 70px;
}

.taglines {
  font-size: 14px;
  padding-top: 15px;
}

.vetsi {
  font-size: 1.3em;
}

.c1 {
  color: #B78477;
}

.c2 {
  color: #FF9F9F;
}

.c3 {
  color: #B2D8C1;
}

.c3b1 {
  border: 1px solid #B2D8C1;
}

.c3b3 {
  border: 3px solid #B2D8C1;
}

.c4 {
  color: #C0B0A0;
}

.c5{
  color: #001F3F;
}


/* HERO */
.hero {
  background: url(img/bg_login.jpg) center / cover no-repeat;
  min-height: 450px;
  xbox-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.hero_osvedceni {
  background: url(img/bg_osvedceni.jpg) center / cover no-repeat;
  min-height: 620px;
  xbox-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.hero-box {
  xbackground: rgba(255,255,255,0.9);
  xpadding: 20px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 28px;
  color: #001F3F;
}

/* FOOTER */
.footer {
  background: #222;
  border-radius: 10px 10px 0px 0px;
  font-size: 80%;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .logo {
    height: 55px;
  }

  .hero {
    min-height: 220px;
  }

  .hero-box {
    margin-top: 20px;
  }

}


#menu a:hover {
  text-decoration: underline;
}


.link, .link:visited {
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.hand {
  cursor: pointer;
}


.arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
  font-size: 1.2rem;
}

.arrow.open {
  transform: translateY(-50%) rotate(90deg);
}


.search-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  font-size: 1.1rem;
  z-index: 2;
}

.search-input {
  padding-left: 42px;
}

/* Search suggestions dropdown */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 0.375rem 0.375rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-suggestions.show {
  display: block;
}

.search-suggestion-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f3f5;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover,
.search-suggestion-item.active {
  background-color: #f8f9fa;
}

.search-suggestion-name {
  font-weight: 500;
  color: #001F3F;
  margin-bottom: 0.25rem;
}

.search-suggestion-meta {
  font-size: 0.85rem;
  color: #6c757d;
}

.search-suggestion-section {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: 0.5rem;
}

.search-suggestion-section.informace {
  background-color: #d1ecf1;
  color: #0c5460;
}

.search-suggestion-section.dokumenty {
  background-color: #d4edda;
  color: #155724;
}

.search-suggestion-section.legislativa {
  background-color: #fff3cd;
  color: #856404;
}

.search-suggestion-section.tabulky {
  background-color: #f8d7da;
  color: #721c24;
}

.search-no-results {
  padding: 1rem;
  text-align: center;
  color: #6c757d;
  font-style: italic;
}

/* Search highlight - permanent with brief flash on appearance */
@keyframes highlightFlash {
  0% {
    background-color: #ffc107;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.4);
  }
  100% {
    background-color: rgba(255, 243, 205, 0.5);
    box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.3);
  }
}

.search-highlight-permanent {
  animation: highlightFlash 0.6s ease-out forwards;
  border-left: 3px  solid #ffc107 !important;
  border-radius: 0.375rem;
}

/* ADMIN EDIT MODAL STYLES */
.admin_edit {
  display: inline-block;
  transition: all 0.2s ease;
}

.admin_edit:hover {
  transform: scale(1.2);
}

/* Tabs styling */
#adminTabs.nav-tabs {
  border-bottom: 2px solid #dee2e6;
}

#adminTabs.nav-tabs .nav-link {
  border: none;
  color: #6c757d;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  transition: all 0.2s ease;
}

#adminTabs.nav-tabs .nav-link:hover {
  color: #0d6efd;
  background-color: #f8f9fa;
}

#adminTabs.nav-tabs .nav-link.active {
  color: #0d6efd;
  background-color: transparent;
  border-bottom: 3px solid #0d6efd;
}

.category-item {
  background: #f8f9fa;
  transition: all 0.2s ease;
  user-select: none;
}

.category-item:hover {
  background: #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-item[draggable="true"] {
  cursor: move;
}

.category-item.dragging {
  opacity: 0.5;
  background: #dee2e6;
}

.category-name {
  word-break: break-word;
}

/* File upload styling */
#uploadFile {
  cursor: pointer;
}

/* Upload drag & drop overlay */
.upload-modal-body {
  position: relative;
}

.upload-drop-overlay {
  position: absolute;
  inset: 0;
  z-index: 1060;
  display: none;
  align-items: stretch;
  background: rgba(13, 110, 253, 0.12);
  border: 3px dashed #0d6efd;
  border-radius: 0.375rem;
}

.upload-drop-overlay.show {
  display: flex;
}

.upload-drop-half {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.upload-drop-half + .upload-drop-half {
  border-left: 2px dashed #0d6efd;
}

.upload-drop-half.hover {
  background: rgba(13, 110, 253, 0.25);
}

.upload-drop-label {
  pointer-events: none;
  font-weight: 700;
  color: #0d6efd;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  text-align: center;
}

/* Modal tab content */
.tab-pane .p-3 {
  min-height: 200px;
}



.no-outline {
  outline:0px !important;
  -webkit-appearance:none;
  box-shadow: none !important;
}











.hero_uvod {
  background: url(img/bg_uvod.jpg) center / cover no-repeat;
  min-height: 1030px;
  xbox-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.hero_uvod {
  height: 600px;
  overflow: hidden;
}

.hero_uvod_bg {
  object-fit: cover;
  height: 100%;
}
