@font-face { font-family: Proxima; src: url(ProximaNova-Regular.otf);}
@font-face { font-family: Proxima; font-weight:bold; src: url(Proxima-Nova-Bold.otf);}
@font-face { font-family: Proxima; font-weight:300; src: url(Proxima-Nova-Thin.otf);}

.thblue {color: #00a0f0;}
.thuline{border-bottom: 1px solid rgba(0,0,0,.125);}


.bg-brand {
  --bs-bg-opacity: 1; 
  background-color: rgba(0, 160, 245, var(--bs-bg-opacity)) !important;
}
.bg-brand-20 {
  --bs-bg-opacity: 0.2; 
  background-color: rgba(0, 160, 245, var(--bs-bg-opacity)) !important;
}

.btn-log{
  padding-top: 0px;
  padding-bottom: 4px;
  line-height: 1;
}


.table-striped tbody tr.selected-row td,
.table-striped tbody tr.selected-row th {
  background-color: rgba(13, 110, 253, 0.08) !important;
}

.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.no-spinner {
  appearance: textfield;       
  -moz-appearance: textfield;  
}
input[type="number"] { text-align: right;}



/* button ****************************************************************************************/
.btn-primary {
  background-color: #00a0f5 !important;
  border-color: #00a0f5 !important;
  color: #fff !important;
}
.btn-primary:hover {
  background-color: #0090e0 !important; 
  border-color: #0090e0 !important;
}
.btn-primary:active,
.btn-primary.active {
  background-color: #0080c5 !important;
  border-color: #0080c5 !important;
}
.btn-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 160, 245, 0.4) !important;
}
/**/
.btn-outline-primary {
  background-color: #fff !important;
  border-color: #00a0f5 !important;
  color: #00a0f5 !important;
}
.btn-outline-primary:hover {
  background-color: #0090e0 !important; 
  border-color: #0090e0 !important;
  color: #fff !important;
}
.btn-outline-primary:active,
.btn-outline-primary.active {
  background-color: #0080c5 !important;
  border-color: #0080c5 !important;
  color: #fff !important;
}
.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 160, 245, 0.4) !important;
}

.grecaptcha-badge {bottom:45px !important};

#jNvbr .nav-link.active,
#jNvbr .nav-link.active:focus,
#jNvbr .nav-link.active:hover {
  font-weight: 700;
  color: #fff;              
  position: relative;
}
/* #jNvbr .nav-link.active::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: 0.35rem;          
  height: 2px;
  background-color: #c7effd; 
  border-radius: 2px;
} */


.navbar-th{
  color: #fff; 
  box-shadow: 0px 0px 8px 1px #8b8b8b; 
  font-weight: bold; 
  padding-left: 1.5rem;
  background-color: #00a0f5;
}
.navbar-toggler{color: #fff;}
.navbar-toggler:focus{outline: 1px transparent }
.nav-link{font-weight:normal;color:white;}
.jdropdown-menu{display: flex; align-items: center;}
.dropdown-menu{min-width: 6rem;}
.dropdown-divider{border-top: 1px solid #23a8fe;}
.dropdown-item{color:#007fd1; font-weight: bold; transition: all 0.3s;}
.dropdown-item:hover{background-color:#007fd1; color:#fff}
.dropdown-item:active{background-color:#007fd1}
.dropdown-item:focus{background-color:#002f73; color:#fff}
.starter-template { margin-top: 105px; } 


.loader{
  height: 1.875rem;
  width: 15.625rem;
  padding: 3.125rem 0;
  /* position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto; */
}
.circle{
  animation: loader 2s ease-in-out infinite;
  height: 1.875rem;
  width: 1.875rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: #000;
  position: absolute;
}
.circle:first-child{
  background-color: #00286b;
  animation-delay: 0.25s;
}
.circle:nth-child(2){
  background-color: #00438c;
  animation-delay: 0.20s;
}
.circle:nth-child(3){
  background-color: #0060ae;
  animation-delay: 0.15s;
}
.circle:nth-child(4){
  background-color: #006fbf;
  animation-delay: 0.10s;
}
.circle:nth-child(5){
  background-color: #007fd1;
  animation-delay: 0.05s;
}
.circle:last-child{
  background-color: #00a0f5;
  animation-delay: 0s;
}
.color{
  color: #00a0f5  #007fd1 #0060ae #00438c #00286b     #23a8fe #001c5b #006fbf #0068b7     #002f73  #001c5b    #3c4856 #a0acbd 
}
@keyframes loader {
   15%{transform: translateX(0);}
   50%{transform: translateX(200px);}
   70%{transform: translateX(200px);}
  100%{transform: translateX(0px);}
}
.loader ~ div{letter-spacing: 1px; padding: 1.875rem 0; color: #00286b;}


.jcard .card-header {
  background-color: #00a0f5;
  color: #fff; 
}
.jsubmenu{ 
  position:fixed; 
  top:94px; 
  left:0px; 
  border-bottom: 1px solid rgb(138, 138, 138);
  z-index:98; 
  background-color:#fff;
  box-shadow: 0px 0px 8px 2px #8b8b8b;  
}
.jsubmenu .jmenuitem {
  color: #006da4;
  font-size: 14px;
  padding: 0.5rem 1rem;
}
.jInpReadOnly{
  background-color: #e9ecef;
}
.jMenuLinkBtn{
  color: #006da4;
  padding: 0;
}




.jaccordion{
  padding: 0.7rem 1rem;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}
.jaccordion .accordion-button{
  background-color: #00a0f5;
  color: #fff;
}
.jaccordion .accordion-button:not(.collapsed){
  background-color: #00a0f5;
  color: #fff;
}
.jaccordion .jaccordion::after {
  filter: brightness(0) invert(1); /* fehérre invertálja az alap nyilat */
}
.jaccordion .accordion-item{
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}



.jtable thead {
  background-color: #006da4;
  color: #ffffff;
}
.jtable thead th {
  background-color: inherit; 
  color: inherit;   
  cursor: pointer; 
  user-select: none;         
}
.jtable-scroll-container {
  max-height: calc(100vh - 350px); /* vagy amennyi kell */
  overflow-y: auto;
}
.jtable-scroll-container .jtable {
  margin-bottom: 0; /* ne legyen extra tér */
}
.jtable-scroll-container .jtable thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #006da4;
  color: white;
}
.jtable tbody tr[data-href]:hover td {
  cursor: pointer;
  background-color: rgba(0, 160, 245, 0.1) !important;
}
.table-sort-asc, .table-sort-desc { color: var(--bs-primary); }
.sort-ind { font-size: 0.8em; }    




.dashboard-link {
  text-decoration: none; /* ne legyen aláhúzás */
  color: inherit; /* maradjon az ikon és szöveg színe */
}
.dashboard-link:hover {
  text-decoration: none;
}
.dashboard-tile {
  width: 100%;
  height: 220px; /* Magasabb négyzetek */
  background-color: #ffffff;
  border: 1px solid #dee2e6; /* 1px keret */
  border-radius: 10px; /* Lekerekített sarkok */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
  transition: 0.3s ease;
  text-align: center;
  margin: 5px; /* 5px távolság */
}
.dashboard-tile:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  background-color: #f1f1f1; /* Hover szín */
}
.dashboard-tile i {
  font-size: 40px; /* Nagyobb ikon */
  color: #00a0f5;
  margin-bottom: 10px;
}
.dashboard-tile .label {
  font-size: 20px;
  font-weight: 600;
}
.dashboard-tile .alert-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-size: 12px;
  padding: 6px;
  border-radius: 5px;
}
.wide-container {
  width: 100vw;         /* viewport teljes szélessége */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;      /* ne szorítson a container */
  padding: 0 50px;
}



.j-msg-modal .modal-header {
  background-color: #00a0f5 !important;
  color: white !important;
  border-top-left-radius: 0.6rem;
  border-top-right-radius: 0.6rem;
}
.j-msg-modal .modal-header .modal-title {
  color: white !important;
}
.j-msg-modal .modal-header .btn-close {
  filter: invert(1);
  opacity: 1;
}
.j-msg-modal .modal-content {
  border-radius: 0.6rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  overflow: hidden; /* lekerekített szélekhez kell */
}
/*
.j-msg-modal .modal-dialog {
  max-width: 900px;  pl. kisebb, mint az xl (1140px) 
}
  
.j-msg-modal .modal-dialog-centered {
  align-items: flex-start !important;
  margin-top: 30vh; 
}
  */








.info-icon {
  display: inline-flex;
  align-items: center;
  cursor: help;
  margin-left: -4px;
  color: var(--bs-secondary);
  text-decoration: none;
  margin-top: 2px;
}
.info-icon:hover { color: var(--bs-primary); }
.info-icon i { font-size: 1rem; } 




/* === Cookie banner === */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: #1f2937;
    color: #f9fafb;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    animation: cookieBannerSlideUp 0.3s ease-out;
}

@keyframes cookieBannerSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.cookie-banner__title {
    grid-column: 1 / -1;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.cookie-banner__body {
    grid-column: 1;
    margin: 0;
}

.cookie-banner__body p { margin: 0; }

.cookie-banner__link-line {
    margin-top: 8px !important;
}

.cookie-banner__body a {
    color: #93c5fd;
    text-decoration: underline;
}

.cookie-banner__body a:hover { color: #bfdbfe; }

/* Gombok — egyenrangú méret, egyenrangú súly */
.cookie-banner__actions {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}

.cookie-banner__btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

.cookie-banner__btn--accept {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}
.cookie-banner__btn--accept:hover,
.cookie-banner__btn--accept:focus-visible {
    background: #1d4ed8;
    border-color: #1d4ed8;
    outline: none;
}

.cookie-banner__btn--reject {
    background: transparent;
    color: #f9fafb;
    border-color: #9ca3af;
}
.cookie-banner__btn--reject:hover,
.cookie-banner__btn--reject:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: #f9fafb;
    outline: none;
}

/* Mobil */
@media (max-width: 640px) {
    .cookie-banner__inner {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 16px;
    }
    .cookie-banner__actions {
        grid-column: 1;
        flex-direction: row;
        min-width: 0;
    }
    .cookie-banner__btn {
        flex: 1;
        padding: 12px 12px;
    }
}

/* Lábléc link */
.cookie-settings-link {
    font-size: 12px;
    color: #6b7280;
    text-decoration: underline;
}
.cookie-settings-link:hover { color: #374151; }