      :root {
    --kts-blue: #1D1A59;
    --kts-green: #C4E22D;
    --kts-bg-green: #F4F7E9;
    --kts-bg-blue: #EAF2F8;
  }
	.first-roww {
		margin-bottom: 15px !important;
	}
    .spinner {
      border: 4px solid rgba(0,0,0,0.1);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border-left-color: #09f;
      animation: spin 1s linear infinite;
      display: inline-block;
    }
    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    .toggle-arrow {
      display: inline-block;
      transition: transform 0.3s ease;
    }
    /* Ensure the label uses flexbox */
    .group-label {
      display: flex;
      justify-content: space-between;
      align-items: flex-start; /* Align count with the top line of the name */
      width: 100%;
    }
    .group-count {
      white-space: nowrap;
      margin-left: 8px;
    }
    .abstract-text {
      max-height: 3.6em;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }
    .abstract-text.expanded {
      max-height: none;
    }
    .read-more-btn {
      padding: 0;
      font-size: 0.9em;
    }
    /* Optional styling for the help (question mark) button */
    .help-btn {
      margin-left: 8px;
      border: none;
      background: none;
      font-size: 1.3rem;
      color: #1D1A59;
      cursor: pointer;
    }
    .help-btn:hover, code {
      color: #C4E22D;
    }
    .mb-1, .btn-primary, .btn, a.btn {
        background-color: #1D1A59;
        border: none;
        font: white !important;
        text-decoration: none;
    }

    .mb-1:hover, .btn-primary:hover {
      background-color: #1D1A59;
      text-decoration: none;
  }
  
button.btn.btn-primary.mb-2:hover {
    background-color: #C4E22D;
    text-decoration: none;
}

  a.btn-info:hover {
    background-color: #C4E22D;
    text-decoration: none;
}
    /* Style for the circular help button */
    .help-circle {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #1D1A59;
      color: white;
      border: none;
      text-align: center;
      line-height: 1;
      font-size: 1.2rem;
      cursor: pointer;
      margin-left: 1%;
	  
    }
    .help-circle:hover {
      background-color: #C4E22D;
    }
    .form-control-search {
        width: 88% !important;
        float: left;
        padding-left: 1%;
    }
    .form-inline {
    width:100%;
    justify-content: end; 
    align-items: baseline;   
    }

  /* Headings */
  h1, h3, label {
    color: var(--kts-blue);
  }

  .blurred, .form-check-label, .list-group-item {
    filter: blur(2.5px); /* Removed !important */
    pointer-events: none;
    user-select: none;
    cursor: default;
    color: gray;
    text-decoration: none;
  }
  
.list-group-item h5 {
  filter: blur(0px) !important; 
}

.form-check-input {
  user-select: none;
  pointer-events: none;    
  cursor: default;         
  color: gray;             
  text-decoration: none; 

}
.blurred:hover, .blurred a:hover {
    text-decoration: none; 
    /* cursor: not-allowed; */
}

body.logged-in .blurred,
body.logged-in .form-check-label,
body.logged-in .list-group-item {
  filter: none !important;
  pointer-events: auto !important;
  user-select: auto !important;
  /* cursor: pointer !important; */
  color: inherit !important;
  text-decoration: none !important;
}

body.logged-in .form-check-input {
  pointer-events: auto !important;
  cursor: pointer !important;
}

button.btn-info.btn-sm {
  cursor: default; /* vedno default, tudi na hover */
}

button.btn-info.btn-sm:hover {
  cursor: default;
}

  /* ------------------------------------------------- */
  /* Pagination – uniform 40×40 buttons                */
  /* ------------------------------------------------- */
  .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
  }
  .page-item {
    margin: 0 4px;
  }
  .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    color: var(--kts-blue);
    background-color: #fff;
    border: 1px solid var(--kts-blue);
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
  }
  .page-link:hover {
    background-color: var(--kts-green);
    border-color: var(--kts-green);
    color: #fff;
  }
  .page-item.active .page-link {
    background-color: var(--kts-blue);
    border-color: var(--kts-blue);
    color: #fff;
    cursor: default;
  }
  .page-item.disabled .page-link {
    background-color: #f9f9f9;
    border-color: #ddd;
    color: #ccc;
    cursor: default;
    pointer-events: none;
  }

.read-more-btn {
  border-radius: 4px;
  font-size: 0.8rem;
  padding: 2px 6px;
  margin-top: 4px;
}
.read-more-btn:hover {
  background-color: #C4E22D;  /* tvoja barva hover */
  color: #000;
}

button.btn.btn-primary.mb-2{
 margin-bottom: 0px!important;
}

.ml-2 {
	margin-top: 2px;
}

.toggle-arrow{display:inline-block;transition:transform .25s ease;}
[data-toggle="collapse"][aria-expanded="true"] .toggle-arrow{transform:rotate(90deg);}

/* Enoten stil za vse gumbe */
.btn {
  display: inline-block;
  padding: 8px 20px;
  font-weight: 500;
  text-decoration: none;        /* odstrani podčrtaj */
  transition: all 0.2s ease-in-out;
  color: #fff !important;       /* vedno bel tekst */
  text-decoration: none;        /* brez podčrtaja */
}

/* primarni (privzeto temno moder) */
.btn-primary {
  background-color: #1D1A59;
  border: none;
  text-decoration: none !important;        /* brez podčrtaja */
}

/* ob hover naj bo zelen */
.btn-primary:hover {
  background-color: #C4E22D;    /* bootstrap zelena */
  color: #fff !important;       /* bel tekst ostane */
  text-decoration: none;        /* brez podčrtaja */
}
