body, html {
  height: 100%;
}

/* Specific background class for BKFM header image */
.bkfm-background {
  background-color: #0c0201;
  background-image: url('../images/BKFM_bg_HU_1340x800px.jpg'); /* Default Hungarian */
  background-size: 100% auto; /* Width 100%, height auto */
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* English language background */
.bkfm-background[data-lang="en"] {
  background-image: url('../images/BKFM_bg_ENG_1340x800px.jpg');
}

/* Mobile Hungarian background */
@media (max-width: 767px) {
  .bkfm-background {
    background-image: url('../images/BKFM_bg_HU_1340x800px_gradient.jpg');
  }
  
  .bkfm-background[data-lang="en"] {
    background-image: url('../images/BKFM_bg_ENG_1340x800px_gradient.jpg');
  }
}

/* Custom CSS only for registration page - transparent form background */
.registration-form-transparent .usr-registration-container-bg {
  background-color: rgba(12, 2, 1, 0.85) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.usr-registration-container-bg {
  border-radius: 10px;
  border: 2px solid #9c9c9c;
}

/* Responsive margin for page container */
.usr-pageContainer {
  margin-top: 10px; /* Alapértelmezett (asztali) */
}

/* Mobil nézet: margin-top legyen 60px, álló (portrait) módban is */
@media (max-width: 767px) and (orientation: portrait) {
  body .usr-pageContainer {
    margin-top: 80px !important;
  }
}

/* Alternatív megközelítés - egyszerűbb media query */
@media (max-width: 767px) {
  body .usr-pageContainer {
    margin-top: 80px !important;
  }
}

/* Ha valamiért landscape módban is kellene külön, itt lehet állítani:
@media (max-width: 767px) and (orientation: landscape) {
  .usr-pageContainer {
    margin-top: 10px !important;
  }
}
*/


h3 {
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 10px;
  text-align: center;
}

.usr-montserrat-text {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.usr-login-container-bg {
  background: url('../images/login-container-bg.png') no-repeat top left;
  border: 1px solid #e4e4e4;
  padding-top: 30px !important;
}

#wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -150px; /* minus the height of the footer */
}

#marketing_logo {
  background: url('../images/footer-bg.png') no-repeat center center;
  background-position: bottom;
  height: 100vh;
  max-width: 1366px;
  background-size: 100%;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.form-container-links a {
  color: #2aafe8;
}

#push, footer {
  height: 150px; /* height of the footer */
  clear: both;
}

footer {
  background: #BBBBBB;
}

.usr-page-content {
  background-color: white; 
}

.usr-page-border-radius {
  border-radius: 5px;
  border: 1px solid #e4e4e4;
}

/* Particle Background */
#particles-js {
  width: 100%;
  height: 100%;
  background-image: url('');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

/* Navbar Styles */
.navbar-expand-lg {
  background-color: #4b5366;
}

.navbar-nav .nav-link.dropdown-toggle {
  color: #f1f1f1 !important;
}

.usr-card-munkatars-adatok {
  border: 1px solid #e0e3e1 !important;
}

.usr-munkatars-adatok a {
  color: #4c555e;
  text-decoration: none;
  line-height: 1.8em !important;
}

.usr-munkatars-adatok a:hover {
  color: #0070fc;
  text-decoration: underline;
}

.usr-munkatarsak-vezerlo-info,
.usr-jelenletiiv-vezerlo-info {
  color: #818181; 
  text-align: center; 
  border: 1px solid #e0e0e0; 
  padding: 6px; 
  width: 180px; 
  background-color: #f9f9f9;
  border-radius: 5px;
}

.usr-jelenletiiv-vezerlo-button {
  width: 200px; 
  margin-left: 5px; 
  color: #3e3d3d; 
  background-color: #ffc067;
  border-radius: 5px;
}

/* Table Styles */
.table-hover tbody tr:not(.hetvege):hover {
    background-color: #28a745 !important;
}

.table-responsive {
  margin: 30px 0;
}

.table-wrapper {
  min-width: 1000px;
  background: #fff;
  padding: 20px 25px;
  border-radius: 3px;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}

.usr-cimsor {
  color: #fff;
  background: #4b5366;		
  padding: 26px 25px;
  border-radius: 5px;
}

.usr-cimsor > h2 > span {
  color: black;
  background: #ffc64d;
  padding: 3px 8px;
  margin-right: 8px;
  border-radius: 5px;
}

.usr-cimsor-jelenletiiv {
  color: #fff;
  background: #4b5366;		
  padding: 16px 25px;
  border-radius: 5px 5px 0 0; 
}

.usr-cimsor-jelenletiiv h2,
.usr-cimsor h2 {
  font-size: 24px;
}

.usr-munkatarsak-vezerlo,
.usr-tavolletek-vezerlo,
.usr-jelenletiiv-vezerlo,
.usr-jelentes-vezerlo {
  color: #fff;
  background: #e3e3e3;		
  padding: 16px 25px;
  border-radius: 5px 5px 0 0;
  border: 1px solid #dfe3e1;
}

.usr-jelentes-vezerlo h3 {
  color: #485366;
  font-weight: 400;
  text-align: center !important;
  width: 100%;
}

.usr-jelentes-vezerlo div {
  min-height: 45px !important;
}

.usr-mukatarsak-lista-listanezet a {
  color: white;
}

.usr-mukatarsak-lista-listanezet a:hover {
  color: #e6e6e6;
  text-decoration: underline;
}

.usr-mukatarsak-lista  > table:first-of-type > thead > tr > th {
  background-color: #64748e; 
  color: white;
  text-align: center;
  height: 80px;
}

.usr-mukatarsak-lista table:first-of-type table thead tr th {
  color: black;
  text-align: center;
}

.usr-progress-munkatarsak {
  height: 5px !important;
  border-radius: 0 !important;
  border: 1px solid #d6d6d6 !important;
  margin-bottom: 10px !important;
  margin-top: 5px !important;
  width: 90% !important;
}

.usr-progress-engedelyezes {
  height: 10px !important;
  border-radius: 0 !important;
  border: 1px solid #d6d6d6 !important;
  margin-bottom: 10px !important;
  margin-top: 5px !important;
  width: 100% !important;
}

.usr-progress-engedelyezes-zold,
.usr-progress-munkatarsak-zold {
  background-color: #00e388 !important;
}

.usr-progress-engedelyezes-feher,
.usr-progress-munkatarsak-feher {
  background-color: white !important;
}

.usr-mukatarsak-lista-szervegyseg td {
  cursor: pointer;
  background-color: #C6D8D3;
  text-align: center;
  height: 50px;
}

.usr-mukatarsak-lista-reszletek {
  color: black;
  margin-left: 45px;
  display: block;
}

.usr-mukatarsak-lista-reszletek table thead {
  background-color: #f3f4f7;
}

.usr-mukatarsak-lista-listanezet a,
.usr-mukatarsak-lista-reszletek a {
  font-weight: normal !important;
  text-decoration: none;
}

.usr-mukatarsak-lista-reszletek a:hover {
  font-weight: normal !important;
  text-decoration: underline;
  color: #0070fc !important;
}

.usr-mukatarsak-lista-reszletek td {
  text-align: center;
}

.usr-statusz-hiany .bi-circle-fill,
.usr-statusz-munkavegzes .bi-circle-fill {
  color: #38a8bf !important;
}

.usr-statusz-szabadsag .bi-circle-fill {
  color: #00e388 !important;
}

.usr-statusz-tavollet .bi-circle-fill {
  color: #ffc107 !important;
}

.usr-statusz-tartostav .bi-circle-fill {
  color: #acbec5 !important;
}

.usr-munkatarsak-info-icon {
  color: #cccccc;
}


#szabadsagPanel {
  display: none; /* Az !important eltávolítva */
  border-left: 1px solid #dfe3e1;
  border-right: 1px solid #dfe3e1;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

#prevMonth,
#nextMonth {
  border: 1px solid #38a8bf;	
  color: white !important;
  background: #38a8bf !important;
}

#yearSelect,
#monthSelect {
  border: 1px solid #38a8bf;	
}

.usr-engedelyezes {
  border-radius: 5px;
  border: 1px solid #dfe3e1;
  min-height: 300px;
}

.usr-mukatarsak-lista,
.usr-mukatarsak-lista-listanezet,
.usr-tavolletek-tartalom,
.usr-jelenletiiv-naptar {	
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-left: 1px solid #dfe3e1;
  border-right: 1px solid #dfe3e1;
  border-bottom: 1px solid #dfe3e1;
}

.show-entries select.form-control {        
  width: 60px;
  margin: 0 5px;
}

.filter-icon {
  float: right;
  margin-top: 7px;
}

.filter-icon i {
  font-size: 18px;
  opacity: 0.7;
}

table.table tr th, 
table.table tr td {
  border-color: #e9e9e9;
  padding: 6px 4px;
  vertical-align: middle;
  color: #485366;
}

table.table tr th:first-child {
  width: 60px;
}

table.table tr th:last-child {
  width: 80px;
}

table.table-striped tbody tr:nth-of-type(odd) {
  background-color: #fcfcfc;
}

#munkatarsak-table td, #munkatarsak-table th {
  padding: 14px 5px !important; 
}

table.table th i {
  font-size: 13px;
  margin: 0 5px;
  cursor: pointer;
}

table.table td a {
  font-weight: bold;
  color: #566787;
  display: inline-block;
  text-decoration: none;
}

table.table td a.view {        
  width: 30px;
  height: 30px;
  color: #2196F3;
  border: 2px solid;
  border-radius: 30px;
  text-align: center;
}

table.table td a.view i {
  font-size: 22px;
  margin: 2px 0 0 1px;
}

table.table .avatar {
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
}

.status {
  font-size: 30px;
  margin: 2px 2px 0 0;
  display: inline-block;
  vertical-align: middle;
  line-height: 10px;
}

.text-success {
  color: #10c469;
}

.text-info {
  color: #62c9e8;
}

.text-warning {
  color: #FFC107;
}

.text-danger {
  color: #ff5b5b;
}

.pagination {
  float: right;
  margin: 0 0 5px;
}

.pagination li a {
  border: none;
  font-size: 13px;
  min-width: 30px;
  min-height: 30px;
  color: #999;
  margin: 0 2px;
  line-height: 30px;
  border-radius: 2px !important;
  text-align: center;
  padding: 0 6px;
}

.pagination li a:hover {
  color: #666;
}

.pagination li.active a {
  background: #03A9F4;
}

.pagination li.active a:hover {        
  background: #0397d6;
}

.pagination li disabled i {
  color: #ccc;
}

.pagination li i {
  font-size: 16px;
  padding-top: 6px;
}

.hint-text {
  float: left;
  margin-top: 10px;
  font-size: 13px;
}

.table-honapnapjai td {
  padding: 3px !important;
}

.btn-dark {
  background: #4b5366 !important;	
}

.btn-info,
.btn-secondary,
.btn-primary,
.btn-success {
  color:white !important;
}

.btn-warning {
  color: rgb(39, 39, 39) !important;
}

.btn-primary,
.mainap {
  background-color: #5fa6be !important;
  color:white !important;
  border: 1px solid #5fa6be !important;
}

.mainap-bootom {
  border-bottom: 1px solid #dddddd !important;
}

.usr-tovabbi-napok td {
  background-color: #f4f4f4 !important;
}

.usr-tovabbi-napok td:first-child div {
  background-color: #f4f4f4 !important;
}

.custom-border {
  border-color: #fff !important;
}

.usr-calendar-field {
  border-radius: 4px;
  background: #fff;
  border: 1px solid #e8e8e8;
  color: #666;
  text-align: center;
  font-weight: 600;
  line-height: 3em;
  position: relative;
  cursor: pointer;
}

.usr-jelentes-munkatarsak-lista tbody td a {
  font-weight: normal !important;
}

.usr-jelentes-munkatarsak-lista tbody td a:hover {
  text-decoration: underline;
  color: #00aac1 !important;
}

.usr-jelentes-munkatarsak-lista tbody td {
  font-size: 0.9em !important;
}

.usr-jelentes-munkatarsak-lista thead th:first-child {
  border-top-left-radius: 5px !important;
  border-bottom-left-radius: 5px !important;
}

.usr-jelentes-munkatarsak-lista thead th:last-child {
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

.usr-jelentes-munkatarsak-lista thead th {
  border-top: 0px;
  border-bottom: 0px;
  background-color: #C6D8D3;
  height: 38px !important;
  text-align: center;
}

.usr-jelentes-munkatarsak-lista td {
  border-top: 0px;
  border-bottom: 0px;
}

.usr-jelentes-munkatarsak-lista .badge.bg-primary {
  background-color: #00aac1 !important;
  font-size: 1.1em !important;
}

.usr-jelentes-munkatarsak-lista .badge.bg-success {
  font-size: 1.1em !important;
}

.jelentes-lezarva {
  color: #00a047 !important;
}

.tavollet-field {
  border-radius: 4px;
  background: #fff;
  border: 1px solid #d6d6d6;
  color: #666;
  text-align: center;
  font-weight: 600;
  line-height: 3em;
  width: 90px !important; /* Updated width to 50px as per instruction */
}

.usr-hetvege {
  width: 100% !important;
  text-align: left !important;
  background-color: #e3e3e3;
  color: #fff; 
}

.usr-hetvege-sor td {
  background-color: #f5f5f5;
}

.usr-hetvege-datum {
  background-color: #e3e3e3;
  color: #FF746C;
}

.usr-hetvege-szurke {
  color: #FF746C !important;
  font-weight: normal;
}

#toggleRows {
  background-color: #5fa6be;
  color: black;
  border: 0;
}

.munkavegzesBtn,
#munkavegzesBtn {
  color: white;
  font-weight: normal;
  background-color: #5fa6be;
  border:0;
  height: 48px;
}

.munkavegzesBtn:hover,
.munkavegzesBtn:active {
  color: white;
  font-weight: normal;
  background-color: #485366;
  border: 0;
  height: 48px;
}

.usr-torlesBtn-mainap {
  display: 1;
  height: 48px;
}

.usr-torlesBtn,
.usr-infoBtn {
  display: block; /* Corrected from '1' to 'block' for valid CSS */
  color: #a7a7a7;
  height: 48px;
  border: 1px solid #cbcbcb;
}

.usr-torlesBtn:hover,
.usr-infoBtn-small:hover,
.usr-infoBtn:hover {
  border: 1px solid #cbcbcb; /* Ensures the border remains the same on hover */
  color: black;
}

.usr-infoBtn-small {
  color: #a7a7a7;
  border: 1px solid #cbcbcb;
}

.usr-munkavegzes-admin {
  width: 100% !important;
  text-align: left !important;
  background-color: #5fa6be;
  color: #fff; 
  font-size: 0.8em !important; 
  height:40px !important;
}

.usr-munkavegzes {
  position: relative;
  cursor: pointer;
  width: 100% !important;
  background-color: #5fa6be;
  color: #fff; 
}

.usr-munkavegzes-datum {
  background-color: #5fa6be;
  color: #fff;
}

.usr-munkavegzes-kiemeltkek {
  color: #0b5ed7 !important;
  font-weight: normal;
  background-color: #e6f2ff !important; 
  border-left: 1px solid #d9e9ff; 
  border-right: 1px solid #d9e9ff;
}

.usr-munkavegzes-nap {
  color: #666 !important;
  font-weight: normal;
}

.usr-munkavegzes-tipus {
  display: inline-block; 
  border-radius: 3px; 
  border: 1px solid #339aaf; 
  color:#fff; 
  text-align: center; 
  margin-left: 6px;
  margin-right: 6px;
  width: 42px;
  line-height: 2em;
  background-color: #6FC3DF;
}

.usr-munkavegzes .usr-info-icon {
  display: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.usr-munkavegzes:hover .usr-info-icon {
  display: inline-block;
}

.usr-tartostav-admin {
  width: 100% !important;
  text-align: left !important;
  background-color: #b0bec5; /* Light Blue Grey */
  color: #fff; 
  font-size: 0.8em !important; 
  height:40px !important;
}

.usr-tartostav {
  width: 100% !important;
  background-color: #b0bec5; /* Light Blue Grey */
  color: #fff; 
}

.usr-tartostav-datum {
  background-color: #b0bec5; /* Light Blue Grey */
  color: #fff;
}

.usr-tartostav-kiemeltszurke {
  color: #546e7a; /* Darker Blue Grey */
  font-weight: normal;
  background-color: #eceff1; /* Very Light Blue Grey */
  border-left: 1px solid #cfd8dc; /* Light Blue Grey */
  border-right: 1px solid #cfd8dc; /* Light Blue Grey */
}

.usr-tartostav-szurke {
  color: #666 !important;
  font-weight: normal;
}

.usr-tartostav-tipus {
  display: inline-block; 
  border-radius: 3px; 
  border: 1px solid #cccccc; 
  color:#fff; 
  text-align: center; 
  margin-left: 6px;
  margin-right: 6px;
  width: 42px;
  line-height: 2em;
  background-color: #90a4ae; /* Blue Grey */
}

.usr-szabadsag-zold {
  color: #006400 !important;
  font-weight: normal;
}

.usr-szabadsag-tipus {
  display: inline-block; 
  border-radius: 3px; 
  border: 1px solid #009400; 
  color:#fff; 
  text-align: center; 
  margin-left: 6px;
  margin-right: 6px;
  width: 42px;
  line-height: 2em;
  background-color: #1dad62;
}

.usr-szabadsag-datum {
  background-color: #26E07F;
  color: #006400;
}

.usr-szabadsag {
  width: 100%;
  background-color: #26E07F;
  color: #006400;
}

.usr-szabadsag-admin {
  width: 100% !important;
  text-align: left !important;
  background-color: #26E07F;
  color: #006400;
  font-size: 0.8em !important;
  height: 40px !important;
}

.usr-spectavollet-kiemeltpiros {
  color: #c4010b !important;
  font-weight: normal;
  background-color: #e5d2d1 !important; 
  border-left: 1px solid #dcb0af; 
  border-right: 1px solid #dcb0af;
}

.usr-spectavollet-sarga {
  color: #FA8072 !important;
  font-weight: normal;
}

.usr-spectavollet-tipus {
  display: inline-block; 
  border-radius: 3px; 
  border: 1px solid #a47b42; 
  color:white; 
  text-align: center; 
  margin-left: 6px;
  margin-right: 6px;
  width: 42px;
  line-height: 2em;
  background-color: #c79650;
}

.usr-spectavollet-datum {
  background-color: #FFC067;
  color: #674e2a;
}

.usr-spectavollet {
  width: 100% !important;
  background-color: #FFC067;
  color: #674e2a; 
}

.usr-spectavollet-admin {
  width: 100% !important;
  text-align: left !important;
  background-color: #FFC067;
  color: #674e2a; 
  font-size: 0.8em !important;
  height: 40px !important;
}

.usr-sor-szabikiiras {
  display: none;
}

.usr-szabikiiras-sikeres { 
  display: none;
}

@keyframes pulzalas {
  0% { color: #ffe5e0; } /* Világos piros */
  50% { color: #FF6347; } /* Sötétebb piros */
  100% { color: #ffe5e0; } /* Vissza a világos pirosra */
}

@keyframes blinking {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

.usr-hianyzo {
  width: 100% !important;
  text-align: center !important;
  background-color: white;
  color: #ff6a62; /* Changed to a standard gray color */
  font-weight: 300; /* Lighter font weight for a thinner appearance */
  text-transform: uppercase;
}

.usr-hianyzo-tipus {
  display: inline-block; 
  border-radius: 3px; 
  color:#a8a8a8; 
  text-align: center; 
  margin-left: 6px;
  margin-right: 6px;
  width: 42px;
  line-height: 2em;
  background-color: white;
}

.usr-hianyzo-tipus i {
  font-size: 1.1em;
}

.usr-hiany {
  display: block; /* Alapértelmezett látható állapot */
  animation: pulzalas 3s infinite; /* Animáció hozzáadása 3 másodperces pulzálással */
  color: white;
  text-align: left !important;
}

.usr-hiany-figyelmeztetoszoveg {
  text-align: left; 
  width:100%; 
  display: block; 
  line-height: 1.6em; 
  font-size: 0.9em; 
  font-weight: normal;
  background-color: white;
  color: #FF6347;
  font-weight: bold;
  border: 1px solid #ffdddd !important;
}

.usr-hiany-szoveg {
  line-height: 3.2em;
}

/* PROGRESS BAR */
.usr-progress {
  height: 25px;
  background-color: #e0e0e0;
  border-radius: 50px;
}

.usr-progress-bar {
  background-color: #28a745;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.usr-progress-bar span {
  color: white;
  font-weight: bold;
  height: 25px;
  line-height: 25px;  
}	

/* CARD */

.card {
  border-radius: 5px !important;
  border: 1px solid  #c0d7c9;
}

.profile-card {
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding-bottom: 15px;
}

.profile-img {

}

.card-header {
  background-color: #cee6d7;
  width: 100%; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  padding-left: 15px;
  color: #003724;
  border-radius: 0;
}

.profile-card h4 {
  margin-top: 10px;
  color: #003724 !important;
}

.text-muted {
  color: #003724 !important;
}

.profile-card h4 > a {
  color: #003724 !important;
  text-decoration: none;
}

.profile-card h4 > a:hover {
  color: #3c921a !important;
  text-decoration: underline;
}

.stats {
  margin-top: 15px;
  background-color: #e4e4e4;
  margin-left: 0px;
  border-radius: 3px;
  border-radius: 6px;
  padding-left: 0px;
}

.stat-label {
  font-size: 1.1em;
  color: #003724;
  font-weight: bold;
  line-height: 2.6em;
  padding: 0 !important;
  margin: 0 !important;
}

.stat-value {
  font-size: 1em;
  font-weight: normal;
  color: #003724;
  line-height: 1.7em;
  padding-bottom: 7px !important;
  margin: 0 !important;
}

.stat-value span:first-child {
  border-radius: 4px; 
  display: inline-block; 
  background-color: #fff; 
  padding: 2px 5px; 
  color: #003724; 
  border: 0px solid #99ff99;
}

.fade-collapse {
  display: none;
}

/* Amikor a jQuery slideDown aktiválja */
.fade-collapse.show {
  display: table-row;
}

.usr-table-design-center th {
  background-color: #C6D8D3;
  height: 60px !important;
  text-align: center;
}

.usr-table-design-center th a {
  color: #0a2347 !important;
  font-weight: bold;
}

.usr-table-design-center td {
  text-align: center;
}

.usr-table-design-left th {
  background-color: #C6D8D3;
  height: 60px !important;
  text-align: left;
}

.usr-table-design-left td {
  text-align: left;
}

.usr-uppercase-cell {
  text-transform: uppercase;
  font-weight: normal;
  font-size: 0.8em;
  text-align: center;
}

/* Admin naptar nezethez kell */
.inactiveRow {
  background-color: rgb(140, 140, 140);
}
  
  
/* Szervezeti egység ADMIN */
.szervStyle5 td:first-child div {
  width: 100% !important;
  color: white;
  background-color: #69757d;
}
.szervStyle4 td:first-child div {
  width: 100% !important;
  color: white;
  background-color: #af96d1;
}
.szervStyle3 td:first-child div {
  width: 100% !important;
  background-color: #FFD670;
}
.szervStyle2 td:first-child div {
  width: 100% !important;
  background-color: #CDE0B7;
}
.szervStyle1 td:first-child div {
  width: 100% !important;
  background-color: #f5f5f5;
}

.szervStyle1 td:first-child div,
.szervStyle2 td:first-child div,
.szervStyle3 td:first-child div,
.szervStyle4 td:first-child div,
.szervStyle5 td:first-child div {
  padding: 8px;
  border: 1px solid lightgrey;
  border-radius: 5px;
  text-align: right;
}
.szervStyle1 td:nth-child(2) div,
.szervStyle2 td:nth-child(2) div,
.szervStyle3 td:nth-child(2) div,
.szervStyle4 td:nth-child(2) div,
.szervStyle5 td:nth-child(2) div {
  padding: 8px;
  border: 1px solid lightgrey;
  border-radius: 5px;
  text-align: left !important;
}

.szervStyle1 td,
.szervStyle2 td,
.szervStyle3 td,
.szervStyle4 td,
.szervStyle5 td {
  padding: 5px !important;
  margin: 5px !important;
  text-align: center !important;
}

.szervStyle1 td:nth-child(6),
.szervStyle2 td:nth-child(6),
.szervStyle3 td:nth-child(6),
.szervStyle4 td:nth-child(6),
.szervStyle5 td:nth-child(6) {
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
}

.szervStyle5 td:nth-child(2) div {
  color: white;
  background-color: #69757d;
}
.szervStyle4 td:nth-child(2) div {
  color: white;
  background-color: #af96d1;
}
.szervStyle3 td:nth-child(2) div {
  background-color: #FFD670;
}
.szervStyle2 td:nth-child(2) div {
  background-color: #CDE0B7;
}
.szervStyle1 td:nth-child(2) div {
  background-color: #f5f5f5;
}

input[readonly] {
  background-color: lightgray !important;
}

input[type="text"] + small,
input[type="password"] + small,
input[type="text"] + span + small,
input[type="password"] + span + small,
input[type="text"] + span + div + small {
  font-size: smaller; 
  color: chocolate;
  display: block;
  font-weight: lighter;
}

input[type="text"]::placeholder {
  
}

.inputSpanWithCorrection {
  width: 50px !important;
}

.uzenetJelszoKuldesHibaAdmin,
.uzenetJelszoKuldesAdmin,
.szerepkorModositas {
  display: none;
}

/* Add or update these styles */
.usr-calendar-field.usr-spectavollet {
    position: relative;
    cursor: pointer;
}

.usr-calendar-field.usr-spectavollet .usr-info-icon {
    position: absolute;
    right: 10px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.usr-calendar-field.usr-spectavollet:hover .usr-info-icon {
    opacity: 1;
}

.usr-info-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.usr-calendar-field:hover .usr-info-icon {
    opacity: 1;
}

/* Form validation styles */
.is-invalid {
	border-color: #dc3545 !important;
	box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.input-group .is-invalid {
	z-index: 3;
}

.alert {
	border-radius: 0.375rem;
}

.form-check-input:checked[type=checkbox] {
	background-color: #0d6efd;
	border-color: #0d6efd;
}

/* Spinning animation for the refresh icon */
.spin {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Table email links styling */
table a {
  font-weight: normal !important;
  text-decoration: none;
  color: #007bff !important;
}

table a:hover {
  text-decoration: underline !important;
  color: #0056b3 !important;
}

/* Reduce table font size by 10% */
.usr-table-design-center {
  font-size: 0.9em;
}

/* Make checked checkboxes darker and more visible - only for this specific table */
.usr-table-design-center td input[type="checkbox"]:checked,
.usr-table-design-center td input[type="checkbox"].user-checkbox:checked {
  background-color: #198754 !important;
  border-color: #198754 !important;
  opacity: 1 !important;
  accent-color: #198754 !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 16px !important;
  height: 16px !important;
  border: 2px solid #198754 !important;
  border-radius: 3px !important;
  position: relative !important;
}

.usr-table-design-center td input[type="checkbox"]:checked::after,
.usr-table-design-center td input[type="checkbox"].user-checkbox:checked::after {
  content: "✓" !important;
  position: absolute !important;
  left: 2px !important;
  top: -2px !important;
  color: white !important;
  font-size: 12px !important;
  font-weight: bold !important;
}

.usr-table-design-center td input[type="checkbox"] {
  opacity: 0.9 !important;
}

.usr-table-design-center td input[type="checkbox"] {
  transform: scale(1.2);
}

/* Létszám szerkesztés stílusok */
.letszam-editable:hover {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
}

.letszam-editable.editing {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
}

/* Táblázat sor hover effekt */
.usr-table-design-center tbody tr:hover {
  background-color: #e6e6e6 !important;
  transition: background-color 0.2s ease;
}

.usr-table-design-center tbody tr:hover td {
  background-color: #d5d6d6 !important;
}

/* Rekordszám megjelenítés stílusa */
.record-count-text {
  font-size: 0.9em;
  color: #485366;
  font-weight: 500;
}

/* Responsive Title Container Styles */
/* Mobile title container - visible on extra small, small and medium devices (< 992px) */
.title-container-mobile {
  display: block;
}

/* Desktop title container - hidden on extra small, small and medium devices (< 992px) */
.title-container-desktop {
  display: none;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .title-container-mobile {
    display: none;
  }
  
  .title-container-desktop {
    display: block;
  }
}

/* Form validation styles */
.is-invalid {
  border: 2px solid #dc3545 !important;
}

.invalid-feedback {
  display: block !important;
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 0.25rem;
}

/* Language Switcher Styles */
.language-switcher {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1030;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.language-switcher:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background-color: #fff;
}

.language-switcher .form-check {
  margin: 0;
  padding: 0;
  min-height: auto;
}

.language-switcher .form-check-input {
  width: 2.5em;
  height: 1.25em;
  margin: 0;
  cursor: pointer;
  background-color: #e9ecef;
  border-color: #ced4da;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
  background-position: left center;
  border-radius: 2em;
  transition: background-position .15s ease-in-out;
}

.language-switcher .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
  background-position: right center;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.language-switcher .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.language-switcher label {
  margin: 0;
  cursor: pointer;
  user-select: none;
  color: #495057;
  font-weight: 500;
  font-size: 0.875rem;
}

.language-switcher .lang-label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language-switcher .lang-label i {
  font-size: 1rem;
  color: #6c757d;
}

.badge.badge-secondary {
  background-color: #e6e6e6 !important;
  color: #999898 !important;
  font-size: 0.85em;
  font-weight: 600;
}

/* Jelentkezések számát jelző badge sötét lila színnel */
a.badge.badge-secondary[title="Jelentkezések megtekintése"] {
  background-color: #6a4c93 !important;
  color: #ffffff !important;
  font-size: 0.85em;
  font-weight: 600;
}

a.badge.badge-secondary[title="Jelentkezettek létszáma összesen (VIP-el együtt)"] {
  background-color: #8fb9db !important;
  color: #ffffff !important;
  font-size: 0.85em;
  font-weight: 600;
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.toast-notification {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    padding: 16px 20px;
    border-left: 4px solid #28a745;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification.success {
    border-left-color: #28a745;
}

.toast-notification.error {
    border-left-color: #dc3545;
}

.toast-notification.warning {
    border-left-color: #ffc107;
}

.toast-notification.info {
    border-left-color: #17a2b8;
}

.toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.toast-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.toast-icon.success {
    background-color: #28a745;
    color: white;
}

.toast-icon.error {
    background-color: #dc3545;
    color: white;
}

.toast-icon.warning {
    background-color: #ffc107;
    color: #212529;
}

.toast-icon.info {
    background-color: #17a2b8;
    color: white;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    flex-grow: 1;
}

.toast-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.toast-close:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.toast-message {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: #e9ecef;
    width: 100%;
}

.toast-progress-bar {
    height: 100%;
    background-color: #28a745;
    width: 100%;
    transition: width linear;
}

.toast-progress-bar.success {
    background-color: #28a745;
}

.toast-progress-bar.error {
    background-color: #dc3545;
}

.toast-progress-bar.warning {
    background-color: #ffc107;
}

.toast-progress-bar.info {
    background-color: #17a2b8;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast-notification {
        margin-bottom: 8px;
        padding: 12px 16px;
    }
}

/* Styles moved from jelentkezes/index.php */
.language-toggle {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}
.language-toggle .form-check-input {
    width: 3em;
    height: 1.5em;
    margin-top: 0.25em;
}
.language-toggle .form-check-label {
    font-weight: 600;
    font-size: 0.9em;
    margin-left: 0.5em;
}
.language-toggle .form-check-input:checked {
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Custom dropdown styles for multi-line text */
.screening-dropdown-item {
    white-space: normal !important;
    word-wrap: break-word;
    line-height: 1.4;
    padding: 0.75rem 1rem;
    max-width: 100%;
    font-size: 0.9rem;
}

.screening-dropdown-item:hover {
    background-color: var(--cui-tertiary-bg);
}

.screening-dropdown-item.selected {
    background-color: var(--cui-primary);
    color: white;
}

#screeningDropdownMenu {
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
}

#screeningDropdownMenu .dropdown-item {
    white-space: normal !important;
    word-wrap: break-word;
    line-height: 1.4;
    padding: 0.75rem 1rem;
    max-width: 100%;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

#screeningDropdownMenu .dropdown-item:last-child {
    border-bottom: none;
}

#screeningDropdownMenu .dropdown-item:hover {
    background-color: var(--cui-tertiary-bg);
}

#screeningDropdownMenu .dropdown-item.selected {
    background-color: var(--cui-primary);
    color: white;
}

/* Custom dropdown button styling - match form-select exactly */
#screeningDropdown {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--cui-body-color);
    background-color: var(--cui-body-bg);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23323a49' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: var(--cui-border-width) solid var(--cui-border-color);
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--cui-border-radius);
    border-bottom-right-radius: var(--cui-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align: left;
    cursor: pointer;
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

#screeningDropdown:focus {
    border-color: var(--cui-primary);
    border-left: none;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(88, 86, 214, 0.25);
}

#screeningDropdown.is-invalid {
    border-color: var(--cui-danger);
    border-left: none;
}

/* Remove any custom arrows */
#screeningDropdown::after,
#screeningDropdown::before {
    display: none !important;
}

/* Ensure proper alignment in input-group */
.input-group > #screeningDropdown {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

/* ======================================== */
/* STYLES FROM jelentkezes/index.php */
/* ======================================== */

/* Inline CSS for mobile margin - ensures it works */
@media (max-width: 767px) {
    .usr-pageContainer {
        margin-top: 60px !important;
    }
}

/* Dropdown 2-column layout styles */
.screening-dropdown-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.screening-time {
    flex-shrink: 0;
    min-width: 80px;
    font-weight: 600;
    color: #2bb0e9;
    white-space: nowrap;
}

/* Dropdown title styling */
.dropdown-menu .dropdown-item:first-child .screening-details {
    color: #6c757d;
}

.screening-details {
    flex: 1;
    word-wrap: break-word;
    line-height: 1.4;
    color: #000000 !important;
    font-style: normal !important;
}

.available-seats-text {
    color: #000000 !important;
}

.available-seats-number {
    font-weight: 700;
    color: #66bf66;
}

/* 0 szabad hely esetén piros szín */
.available-seats-number-zero {
    font-weight: 700;
    color: #e74c3c;
}

/* Lezárt jelentkezés szöveg ugyanolyan piros színnel, mint a 0 szabad helyek száma */
.available-seats-text.registration-closed {
    font-weight: 700 !important;
    color: #e74c3c !important;
}

/* Ensure dropdown items have proper padding */
.screening-option {
    padding: 8px 12px !important;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.screening-option:hover {
    background-color: #f8f9fa;
}

/* Hover effect for better UX */
.screening-option:hover .screening-time {
    color: #1a8bc7;
}

/* Ensure no italic text in dropdown */
.dropdown-menu .dropdown-item {
    font-style: normal !important;
}

/* Ensure dropdown is always on top layer */
#screeningDropdownMenu {
    z-index: 999999 !important;
}

/* Mobile-specific dropdown z-index fix */
@media (max-width: 767px) {
    #screeningDropdownMenu {
        z-index: 9999999 !important;
    }
}

/* Ensure dropdown menu is always on top */
.dropdown-menu.show {
    z-index: 9999999 !important;
}

/* Fix for Bootstrap/CoreUI dropdown positioning */
.dropdown-menu {
    position: absolute !important;
}

/* Force dropdown visibility on mobile */
@media (max-width: 767px) {
    .dropdown-menu.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure dropdown content is visible */
    .dropdown-menu li {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure dropdown items are properly styled */
    .dropdown-menu .dropdown-item {
        color: #000 !important;
        background-color: white !important;
        padding: 8px 12px !important;
    }
}

/* ======================================== */
/* STYLES FROM index.php (main) */
/* ======================================== */

/* Language toggle styles from main index.php */
.language-toggle {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.language-toggle .form-check-input {
    width: 3em;
    height: 1.5em;
    margin-top: 0.25em;
}

.language-toggle .form-check-label {
    font-weight: 600;
    font-size: 0.9em;
    margin-left: 0.5em;
}

.language-toggle .form-check-input:checked {
    background-color: #6c757d;
    border-color: #6c757d;
}

/* ======================================== */
/* STYLES FROM admin/teszt.php */
/* ======================================== */

/* Test page styles from admin/teszt.php */
.test-page-body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f5f5f5;
}

.test-page-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.test-page-h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.test-page-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.test-page-table th, 
.test-page-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.test-page-table th {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
}

.test-page-table tr:hover {
    background-color: #f5f5f5;
}

.test-page-record-count {
    margin-top: 20px;
    padding: 10px;
    background-color: #e8f5e8;
    border: 1px solid #4CAF50;
    border-radius: 4px;
    text-align: center;
}

.test-page-no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* ======================================== */
/* STYLES FROM torles.php */
/* ======================================== */

/* Delete page styles from torles.php */
.delete-page-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.delete-page-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.delete-page-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    border: none;
}

.delete-page-alert {
    border-radius: 10px;
    border: none;
}

.delete-page-alert-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: #155724;
}

.delete-page-alert-danger {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
}

.delete-page-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.delete-page-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.delete-page-container {
    padding-top: 5vh;
    padding-bottom: 5vh;
}

.delete-page-user-info {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.delete-page-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
}

.delete-page-text-success {
    color: #28a745 !important;
}

.delete-page-text-danger {
    color: #dc3545 !important;
}