/* ============================================
   ALAP BEÁLLÍTÁSOK
   ============================================ */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    margin-top: 0;
    color: #2c3e50;
}

a {
    color: #337ab7;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.menu-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 25px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.menu-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.menu-card h3 {
    margin-top: 0;
    color: #337ab7;
}

/* ============================================
   ŰRLAPOK
   ============================================ */
label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #337ab7;
    outline: none;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button,
.btn {
    margin-top: 20px;
    padding: 12px 25px;
    cursor: pointer;
    background: #337ab7;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    display: inline-block;
    text-align: center;
}

button:hover,
.btn:hover {
    background: #286090;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ============================================
   ÜZENETEK
   ============================================ */
.siker {
    padding: 15px;
    margin-bottom: 20px;
    background: #dff0d8;
    border: 1px solid #b2dba1;
    color: #3c763d;
    border-radius: 4px;
}

.hiba {
    padding: 15px;
    margin-bottom: 20px;
    background: #f2dede;
    border: 1px solid #ebcccc;
    color: #a94442;
    border-radius: 4px;
}

.figyelmeztetes {
    padding: 15px;
    margin-bottom: 20px;
    background: #fcf8e3;
    border: 1px solid #faebcc;
    color: #8a6d3b;
    border-radius: 4px;
}

/* ============================================
   RADIO GOMBOK
   ============================================ */
.radio-group {
    margin-top: 10px;
}

.radio-group label {
    display: inline-block;
    margin-right: 20px;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input {
    width: auto;
    margin-right: 5px;
}

/* ============================================
   DOBOZ / DOSSZIÉ / IRAT DINAMIKUS MEZŐK
   ============================================ */
.dobozok {
    margin-top: 15px;
}

.doboz-input {
    margin-bottom: 8px;
}

.dossziek-page-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

/* ============================================
   IRATOK OLDAL
   ============================================ */
   
.iratok-page-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.iratok-tartalom-link,
.iratok-doboz-link,
.iratok-dosszie-link {
	font-weight: 700;
}

.iratok-table {
	width: 100%;
	min-width: 0 !important;
	table-layout: fixed;
}

.iratok-table th,
.iratok-table td {
	overflow-wrap: anywhere;
	word-break: break-word;
	vertical-align: middle;
}

.iratok-reszletek-grid {
	display: grid;
	grid-template-columns: repeat(
		3,
		minmax(0, 1fr)
	);
	gap: 14px;
}

.iratok-form-grid {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.iratok-form-row {
	display: grid;
	gap: 14px;
	min-width: 0;
}

/* 1. sor:
   Irat azonosító | Iktatószám | Megnevezés */
.iratok-form-row-1 {
	grid-template-columns:
		minmax(0, 0.8fr)
		minmax(0, 0.8fr)
		minmax(0, 1.4fr);
}

/* 2. sor:
   Dosszié | Doboz | Polc */
.iratok-form-row-2 {
	grid-template-columns:
		repeat(3, minmax(0, 1fr));
}

/* 3. sor:
   Szervezeti egység | Irattári tételszám |
   Keletkezés éve | Selejtezés éve | levéltári átadás éve*/
.iratok-form-row-3 {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) 127px 127px 155px !important;
	align-items: flex-start !important;
}

.iratok-form-row-3 > div {
	min-width: 0;
}

/* 4. sor:
   Megjegyzés */
.iratok-form-row-4 {
	grid-template-columns:
		minmax(0, 1fr);
}

/* 1. sor:
   Digitális iratmásolat kérése E-mail cím */
   
.iratok-form-row-dig {
	grid-template-columns:
		minmax(0, 0.8fr)		
		minmax(0, 1.8fr);
}

.iratok-full-width {
	grid-column: 1 / -1;
}

.iratok-full-width {
	grid-column: 1 / -1;
}

.iratok-readonly {
	background: #f0f3f5 !important;
}

.iratok-context-banner {
	margin-bottom: 16px;
	padding: 11px 14px;
	background: #eef5fa;
	border: 1px solid #d8e5ef;
	border-radius: 8px;
	text-align: center;
}

@media (max-width: 900px) {
	.iratok-reszletek-grid,
	.iratok-form-grid {
		grid-template-columns: repeat(
			2,
			minmax(0, 1fr)
		);
	}
}

@media (max-width: 620px) {
	.iratok-reszletek-grid,
	.iratok-form-grid {
		grid-template-columns: 1fr;
	}

	.iratok-full-width {
		grid-column: auto;
	}
} 

.iratok-form-actions {
	justify-content: center !important;
}

.irat-reszletek-allapot {
    margin-left: auto;
    font-size: 15px;
    font-weight: 600;
}

.irat-allapot-betarolt {
    color: #198754;
}

.irat-allapot-kolcsonzott {
    color: #e67e22;
}

.irat-allapot-veglegesen-kivett {
    color: #dc3545;
}

.iratok-form-row-2 {
	align-items: flex-start !important;
}

.iratok-osszes-kijeloles-fejlec {
	cursor: pointer;
	user-select: none;
}

.iratok-osszes-kijeloles-fejlec:hover,
.iratok-osszes-kijeloles-fejlec:focus {
	text-decoration: underline;
}

.iratok-osszes-kijeloles-figyelmeztetes {
	margin: 6px 0 0;
	color: #b00020;
	font-weight: 700;
	text-align: center;
}

/* ============================================
   DOSSZIÉK OLDAL
   ============================================ */
   
.dossziek-tartalom-link,
.dossziek-doboz-link {
	font-weight: 700;
}
.dossziek-table {
	width: 100%;
	min-width: 0 !important;
	table-layout: fixed;
}
.dossziek-table th,
.dossziek-table td {
	overflow-wrap: anywhere;
	word-break: break-word;
	vertical-align: middle;
}
.dossziek-reszletek-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.dossziek-form-row {
	display: grid;
	gap: 14px;
	margin-bottom: 14px;
}

.dossziek-form-row-primary {
	grid-template-columns: 160px 1.5fr 0.8fr 0.8fr auto !important;
}

.dossziek-form-row-primary-no-doboz {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dossziek-form-row-secondary {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) 127px 127px 155px !important;
	align-items: flex-start !important;
}

.dossziek-form-row .dobozok-kolcsonzes-box {
	min-height: 40px;
	display: flex;
	align-items: center;
}

.dossziek-form-row .dobozok-kolcsonzes-box label {
	margin: 0;
}

.dossziek-full-width {
	width: 100%;
	margin-bottom: 0;
}

.dossziek-full-width textarea {
	width: 100%;
	min-height: 90px;
	box-sizing: border-box;
}

.dossziek-readonly {
	background: #f0f3f5 !important;
}

.dossziek-form-actions {
	justify-content: center !important;
}

@media (max-width: 1000px) {
	.dossziek-form-row-primary,
	.dossziek-form-row-primary-no-doboz,
	.dossziek-form-row-secondary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.dossziek-reszletek-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.dossziek-reszletek-grid,
	.dossziek-form-row-primary,
	.dossziek-form-row-primary-no-doboz,
	.dossziek-form-row-secondary {
		grid-template-columns: 1fr;
	}
}
	
.dossziek-kolcsonzes-box {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 40px;
	margin-top: 26px;
}
	
.dossziek-kolcsonzes-box label {
	white-space: nowrap; /* Megakadályozza, hogy a szöveg és a checkbox külön sorba törjön */
	display: inline-flex; /* Egy vonalba rendezi a checkboxot és a szöveget */
	align-items: center; /* Függőlegesen középre igazítja őket egymáshoz képest */
	gap: 6px; /* Kényelmes távolság a checkbox és a felirat között */
}

.kereso-mezo {
	display: flex !important;
	flex-direction: row !important;
	gap: 6px !important;
	align-items: center !important;
}

.kereso-mezo-szuro {
	max-width: 220px;
}

.kereso-mezo-input {
	flex: 1 1 auto !important;
	min-width: 0;
	box-sizing: border-box !important;
	height: 38px !important;
	margin: 0 !important;
	vertical-align: middle !important;
}

.kereso-mezo-input-polc {
	display: flex !important;
	min-width: 0;
	box-sizing: border-box !important;
	height: 38px !important;
	margin: 0 !important;
	vertical-align: middle !important;
}

.kereso-mezo-input.kereso-talalat {
	border-color: #3c9d3c;
}

.kereso-mezo-input.kereso-hiba {
	border-color: #d9534f;
}

.kereso-mezo-input[readonly] {
	background: #eee;
	color: #666;
}

.kereso-mezo-gomb {
	flex: 0 0 auto !important;
	box-sizing: border-box !important;
	height: 38px !important;
	min-height: 38px !important;
	max-height: 38px !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 12px !important;
	cursor: pointer;
	background: #e4ecf5;
	color: #337ab7;
	border: 1px solid #c3d3e6;
	border-radius: 4px;
	font-size: 16px;
	line-height: 1 !important;
	vertical-align: middle !important;
}

.kereso-mezo-gomb span {
	display: inline-block;
	line-height: 1;
}

.kereso-mezo-gomb:hover {
	background: #d3e0ef;
}

.kereso-mezo-gomb:disabled {
	background: #ccc;
	color: #888;
	cursor: not-allowed;
}

.kereso-mezo-info {
	font-size: 0.85em;
	margin-top: 4px;
	min-height: 1.1em;
}

.kereso-mezo-info.kereso-info-hiba {
	color: #d9534f;
}

.kereso-mezo-info.kereso-info-siker {
	color: #3c9d3c;
}

.dossziek-form-row-primary,
.dossziek-form-row-primary-no-doboz {
	align-items: flex-start !important;
}

/* Második szűrősor */
.dobozok-filter-row {
    display: flex;
    width: 100%;
    gap: 12px;
    align-items: flex-start;
    box-sizing: border-box;
}

/* Polc - legyen szélesebb */
.dobozok-filter-polc {
    flex: 1.5 1 0;
    min-width: 0;
}

/* Szervezeti egység */
.dobozok-filter-egyseg {
    flex: 1 1 0;
    min-width: 0;
}

/* Állapot */
.dobozok-filter-allapot {
    flex: 1 1 0;
    min-width: 0;
}

/* A keresőmező töltse ki a Polc blokk teljes szélességét */
.dobozok-filter-polc .kereso-mezo {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

/* A Polc input töltse ki a rendelkezésre álló helyet */
.dobozok-filter-polc .kereso-mezo-input-polc {
    flex: 1 1 auto !important;
    width: 100%;
}

/* A selectek töltsék ki a saját blokkukat */
.dobozok-filter-egyseg select,
.dobozok-filter-allapot select {
    width: 100%;
    box-sizing: border-box;
}

/* Gombok */
.dobozok-filter-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.dobozok-filter-reszletes-leiras {
    flex: 1 1 0;
    min-width: 0;
}

.dobozok-filter-reszletes-leiras input {
    width: 100%;
    box-sizing: border-box;
}

.dobozok-filter-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: 0;
}

.dobozok-filter-actions .dobozok-filter-buttons {
    width: auto;
    min-width: 240px;
    justify-content: center;
}

.dobozok-filter-buttons button,
.dobozok-filter-buttons a {
    flex: 1 1 0;
    box-sizing: border-box;
    text-align: center;
}

.dossziek-form-row-secondary {
	display: grid !important;
	grid-template-columns: 0.6fr 130px 155px 1.4fr 1fr;
	column-gap: 1rem;
	align-items: start;
}

.dossziek-form-row-secondary > div {
	min-width: 0;
}

.dossziek-osszes-kijeloles-fejlec {
	cursor: pointer;
	user-select: none;
}

.dossziek-osszes-kijeloles-fejlec:hover,
.dossziek-osszes-kijeloles-fejlec:focus {
	text-decoration: underline;
}

.dossziek-osszes-kijeloles-figyelmeztetes {
	margin: 6px 0 0;
	color: #b00020;
	font-weight: 700;
}
		
#kereso-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	align-items: flex-start;
	justify-content: center;
	padding-top: 8vh;
}

#kereso-modal-overlay.nyitva {
	display: flex;
}

#kereso-modal {
	background: #fff;
	border-radius: 6px;
	width: 90%;
	max-width: 520px;
	max-height: 70vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

#kereso-modal-fejlec {
	padding: 14px 18px;
	border-bottom: 1px solid #ddd;
	text-align: center;
}

#kereso-modal-fejlec h3 {
	margin: 0;
	font-size: 1.1em;
	text-align: center;
}

#kereso-modal-kereses {
	display: block;
	width: calc(100% - 36px);
	margin: 14px 18px 0;
	padding: 10px 12px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}

#kereso-modal-uzenet {
	margin: 0 18px 14px;
	color: #666;
	font-size: 0.9em;
}

#kereso-modal-eredmenyek {
	flex: 1 1 auto;
	min-height: 0;
	margin: 10px 0;
	padding: 0 6px 14px;
	overflow-y: auto;
	list-style: none;
}

#kereso-modal-eredmenyek li {
	padding: 10px 12px;
	margin: 0 12px;
	border-radius: 4px;
	cursor: pointer;
}

#kereso-modal-eredmenyek li:hover {
	background: #f0f4f8;
}

#kereso-modal-eredmenyek li .kereso-eredmeny-cim {
	font-weight: bold;
}

#kereso-modal-eredmenyek li .kereso-eredmeny-reszlet {
	font-size: 0.85em;
	color: #666;
}

#kereso-modal-lablec {
	padding: 14px 18px;
	border-top: 1px solid #ddd;
	text-align: center;
}
		
/* ============================================
   DOBOZOK OLDAL
   ============================================ */

.dobozok-page-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.dobozok-oldal {
	max-width: 1220px;
}

.dobozok-page-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.dobozok-page-title h1 {
	margin: 0;
}

.dobozok-form-card {
	margin-bottom: 24px;
}

.dobozok-form-card h2,
.dobozok-list-title {
	text-align: center;
}

.dobozok-form-card-fejlec {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 18px;
}

.dobozok-form-card-fejlec h2 {
	margin: 0;
}

.dobozok-add-row {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 20px;
}

.dobozok-add-row .admin-add-link {
	margin: 0;
}

.dobozok-list-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 20px;
}

.dobozok-list-toolbar-centered-header {    
	margin-left: 205px;
}

.dossziek-list-toolbar-centered-header {    
	margin-left: 205px;
}

.iratok-list-toolbar-centered-header {    
	margin-left: 170px;
}

.dobozok-muvelet-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.dobozok-muvelet-bar .btn,
.dobozok-muvelet-bar button {
	box-sizing: border-box;
	height: 40px;
	min-height: 40px;
	margin: 0 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
}

.dobozok-kijeloles-info {
	color: #5d6b78;
	font-size: .9rem;
	white-space: nowrap;
	margin-left: 4px;
}

.dobozok-action-msg {
	margin: 0 0 16px;
	padding: 10px 14px;
	background: #eef4f8;
	border: 1px solid #d8e4ec;
	border-radius: 8px;
	color: #425364;
	text-align: center;
	display: none;
}

.dobozok-azonosito-box {
	margin: 16px 0;
	padding: 14px 16px;
	background: #f7fafc;
	border: 1px solid #dbe6ee;
	border-radius: 9px;
	text-align: center;
}

.dobozok-azonosito-box > .fo-cimke {
	display: block;
	margin-bottom: 9px;
	font-weight: 700;
}

.dobozok-azonosito-box label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 10px 6px;
	white-space: nowrap;
}

.dobozok-tetel-grid {
    display: grid;
    grid-template-columns:
        0.8fr
        1.3fr
        1fr
        auto;
    gap: 16px;
    margin-bottom: 18px;
    align-items: end;
}

.dobozok-reszletek-grid {
    display: grid;
    grid-template-columns:
        1.5fr
        0.7fr
        0.7fr
        0.7fr
        1.2fr;
    gap: 14px;
    width: 100%;
    margin-bottom: 18px;
    align-items: end;
    box-sizing: border-box;
}

.dobozok-reszletek-grid-readonly {
    display: grid;
    grid-template-columns:
        0.7fr
        0.7fr
        0.8fr
        1.2fr
        0.9fr
		0.8fr;
    gap: 14px;
    width: 100%;
    margin-bottom: 18px;
    align-items: end;
    box-sizing: border-box;
}

/* Minden grid elem tudjon zsugorodni */
.dobozok-reszletek-grid > div {
    min-width: 0;
    box-sizing: border-box;
}

/* Selectek és inputok töltsék ki az oszlopot */
.dobozok-reszletek-grid select,
.dobozok-reszletek-grid input[type="text"],
.dobozok-reszletek-grid input[type="number"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Polc keresőmező */
.dobozok-reszletek-grid .kereso-mezo {
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
}

/* Polc input */
.dobozok-reszletek-grid .kereso-mezo-input {
    height: 38px !important;
    min-height: 38px;
    max-height: 38px;
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
    min-width: 0;
    width: 100%;
    margin: 0 !important;
}

/* Keresőgomb maradjon fix szélességű */
.dobozok-reszletek-grid .kereso-mezo-gomb {
    flex: 0 0 auto !important;
}

/* A Polc mező igazodjon a többi inputhoz */
.dobozok-reszletek-grid .kereso-mezo-gomb {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

/* A találati/információs sor ne növelje meg a grid igazítását */
.dobozok-reszletek-grid .kereso-mezo-info {
    position: absolute;
}

/* Ehhez a Polc blokk legyen referencia az info számára */
.dobozok-reszletek-grid > div:nth-child(5) {
    position: relative;
}

.dobozok-reszletek-grid > div > select,
.dobozok-reszletek-grid > div > input {
    height: 38px;
    box-sizing: border-box;
}

.dobozok-kolcsonzes-box {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 40px;
}

.dobozok-kolcsonzes-box label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	white-space: nowrap;
}

.dobozok-reszletes-leiras,
.dobozok-megjegyzes {
	width: 100%;
	margin-bottom: 18px;
}

.dobozok-reszletes-leiras textarea,
.dobozok-megjegyzes textarea {
	width: 100%;
	min-height: 90px;
	box-sizing: border-box;
}

.dobozok-readonly {
    background: #f3f6f8 !important;
    color: #5f6c78;
}

.dobozok-readonly-box {
	width: 100%; 
	box-sizing: border-box; 
	padding: 8px; 
	border: 1px solid #ccc; 
	border-radius: 4px; 
	font-family: inherit; 
	font-size: 14px;
    background: #f3f6f8 !important;
    color: #5f6c78;
	height: 35px;
	display: flex; 
	align-items: center;
}

.dobozok-readonly-box a {
    display: block;
    color: #337ab7;
    text-decoration: none;
}

.dobozok-readonly-box a:hover {
    text-decoration: underline;
}

.dobozok-form-actions {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 18px;
}

.dobozok-form-actions .btn,
.dobozok-form-actions button {
	box-sizing: border-box;
	height: 40px;
	min-height: 40px;
	min-width: 120px;
	margin: 0 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
}

.dobozok-filter-card {
	margin-bottom: 24px;
}

.dobozok-filter-grid {
	display: grid;
	grid-template-columns:
		minmax(115px, 0.9fr)
		minmax(210px, 1.8fr)
		minmax(105px, 0.9fr)
		minmax(125px, 1fr)
		minmax(105px, 0.9fr)
		minmax(95px, 0.8fr)
		minmax(95px, 0.8fr)
		auto;
	gap: 10px;
	align-items: end;
}

.dobozok-filter-grid label {
	font-size: .9rem;
	margin-top: 0;
}

.dobozok-filter-grid input,
.dobozok-filter-grid select {
	margin-top: 5px;
}

.dobozok-filter-grid .dobozok-filter-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
}

.dobozok-filter-grid .dobozok-filter-actions .btn,
.dobozok-filter-grid .dobozok-filter-actions button {
	box-sizing: border-box;
	height: 40px;
	min-height: 40px;
	margin: 0 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
}

.dobozok-filter-grid .dobozok-filter-actions {
	grid-column: 1 / -1;
	justify-content: center;
	margin-top: 2px;
}

.dobozok-list-heading {
	margin-bottom: 12px;
	text-align: center;
}

.dobozok-list-heading h2 {
	margin-bottom: 4px;
}

.dobozok-list-summary {
	margin: 0;
	color: #5d6b78;
}

.dobozok-osszes-kijeloles-fejlec {
	cursor: pointer;
	user-select: none;
}

.dobozok-osszes-kijeloles-fejlec:hover,
.dobozok-osszes-kijeloles-fejlec:focus {
	text-decoration: underline;
}

.dobozok-osszes-kijelolve-figyelmeztetes {
	margin: 6px 0 0;
	color: #b00020;
	font-weight: 700;
}
		
.dobozok-table-wrap {
	width: 100%;
	overflow-x: auto;
	background: #fff;
	border: 1px solid #d2e0eb;
	border-radius: 10px;
}

.dobozok-table {
	width: 100%;
	min-width: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.dobozok-table th,
.dobozok-table td {
	padding: 10px 8px;
	border-bottom: 1px solid #dfe7ed;
	vertical-align: middle;
	text-align: center;
	overflow-wrap: anywhere;
	font-size: 14px;
}

.dobozok-table .kijeloles-cella {
	width: 8%;
}

.dobozok-table .kijeloles-checkbox {
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
}

.dobozok-table th {
	background: #e8f0f7;
	color: #23384d;
	font-weight: 700;
	white-space: normal;
}

.dobozok-table tbody tr:last-child td {
	border-bottom: none;
}

.dobozok-table .sort-link {
	color: #23384d !important;
	text-decoration: none !important;
	font-weight: 700;
}

.dobozok-table .sort-link:hover,
.dobozok-table .sort-link:focus,
.dobozok-table .sort-link:active {
	color: #23384d !important;
	text-decoration: none !important;
}

.dobozok-table .sort-jel {
	margin-left: 4px;
	font-weight: 900;
}

.dobozok-table .muveletek {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
}

.dobozok-table .muveletek .btn {
	min-width: 106px;
	margin: 0;
	box-sizing: border-box;
}

.dobozok-pagination {
	margin-top: 20px;
	text-align: center;
}

.dobozok-pagination a,
.dobozok-pagination strong,
.dobozok-pagination span {
	display: inline-block;
	padding: 6px 11px;
	margin: 0 2px;
	border: 1px solid #d6e0e8;
	border-radius: 5px;
	text-decoration: none;
}

.dobozok-pagination a {
	color: #337ab7;
}

.dobozok-pagination a:hover {
	background: #f1f5f8;
}

.dobozok-pagination strong {
	background: #337ab7;
	color: #fff;
	border-color: #337ab7;
}

.dobozok-pagination .dots {
	border-color: transparent;
}

.dobozok-modal-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 15px;
}

.dobozok-tartalom-link {
	font-weight: 700;
}

/* A listafejléc mindig külön blokkban legyen a műveleti sáv alatt. */
.dobozok-oldal .dobozok-list-toolbar {
	width: 100%;
	clear: both;
}

.dobozok-oldal .dobozok-list-heading {
	width: 100%;
	clear: both;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}

.dobozok-oldal .dobozok-list-summary {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	display: block;
}

/* CSV import: csak a Doboz betárolása adatlap fejlécében jelenik meg. */
.dobozok-oldal .dobozok-form-card-fejlec {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.dobozok-oldal .dobozok-import-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	flex: 0 0 auto;
	padding: 0.6rem 1rem;
	border-radius: 6px;
	background: #198754;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.dobozok-oldal .dobozok-import-link:hover {
	background: #157347;
	color: #fff;
}

.dobozok-oldal .dobozok-import-link:focus-visible {
	outline: 3px solid rgba(25, 135, 84, 0.3);
	outline-offset: 2px;
}

@media (max-width: 700px) {
	.dobozok-oldal .dobozok-form-card-fejlec {
		align-items: stretch;
		flex-direction: column;
	}

	.dobozok-oldal .dobozok-import-link {
		align-self: flex-start;
	}
}
		
@media (max-width: 980px) {
	.dobozok-filter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dobozok-reszletek-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.dobozok-page-title {
		align-items: flex-start;
		flex-direction: column;
	}

	.dobozok-list-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.dobozok-muvelet-bar {
		justify-content: center;
	}

	.dobozok-tetel-grid,
	.dobozok-reszletek-grid,
	.dobozok-filter-grid {
		grid-template-columns: 1fr;
	}

	.dobozok-filter-grid .dobozok-filter-actions {
		grid-column: auto;
		justify-content: flex-start;
	}

	.dobozok-azonosito-box label {
		display: flex;
		justify-content: center;
		margin-right: 0;
		margin-left: 0;
	}
}

.dobozok-oldal .dobozok-osszes-kijeloles {
    cursor: pointer;
    user-select: none;
}

.dobozok-oldal .dobozok-osszes-kijeloles:hover {
    cursor: pointer;
}

/* ============================================
   BEJELENTKEZÉSI OLDAL
   ============================================ */
.login-box {
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 25px;
}

.login-box input {
    margin: 8px 0;
    padding: 10px;
}

.login-box button {
    width: 100%;
    margin-top: 15px;
}

.login-box img {
    display: block;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ============================================
   TÁBLÁZATOK (listázáshoz)
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background: #337ab7;
    color: #fff;
}

tr:nth-child(even) {
    background: #f9f9f9;
}

tr:hover {
    background: #f1f1f1;
}

/* ============================================
   SEGÉDOSZTÁLYOK
   ============================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.float-right { float: right; }
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================
   FŐOLDAL (index.php)
   ============================================ */
.user-bar {
    background: #2c3e50;
    color: #fff;
    padding: 15px 30px;
    margin: -25px -25px 30px -25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px 6px 0 0;
}

.user-bar a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
}

.user-bar a:hover {
    text-decoration: underline;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.menu-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.menu-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.menu-card h3 {
    margin-top: 0;
    color: #337ab7;
}

.menu-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: #337ab7;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.menu-card a:hover {
    background: #286090;
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-header {
    background: #2c3e50;
    color: #fff;
    padding: 20px 30px;
    margin: -25px -25px 30px -25px;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    margin: 0;
    font-size: 1.5em;
    color: #fff;
}

.admin-header nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95em;
}

.admin-header nav a:hover {
    text-decoration: underline;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid #337ab7;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 2em;
    color: #337ab7;
}

.stat-card p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.stat-card.warning {
    border-left-color: #f0ad4e;
}

.stat-card.warning h3 {
    color: #f0ad4e;
}

.admin-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.admin-menu-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 25px;
    transition: box-shadow 0.2s, transform 0.1s;
}

.admin-menu-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.admin-menu-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2em;
}

.admin-menu-card p {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.admin-menu-card a.btn {
    margin-top: 0;
    padding: 8px 18px;
    font-size: 0.9em;
}

.section-title {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: #2c3e50;
}

/* ============================================
   EGYSÉGES FEJLÉC
   ============================================ */
.main-header {
    background: #2c3e50;
    color: #fff;
    padding: 0 30px;
    margin: -25px -25px 30px -25px;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    flex-wrap: wrap;
    gap: 10px;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.4em;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    background: none;
    padding: 0;
}

.logo:hover {
    opacity: 0.85;
}

.header-center {
    text-align: center;
    font-size: 0.9em;
    line-height: 1.5;
    flex: 1;
}

.header-center strong {
    color: #f0ad4e;
}

.header-right .btn-kilepes {
    background: #c0392b;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    display: inline-block;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.header-right .btn-kilepes:hover {
    background: #a93226;
}

/* Névjegy modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-box h2 {
    margin-top: 0;
    color: #2c3e50;
}

.modal-box .close-btn {
    margin-top: 20px;
    padding: 8px 25px;
    background: #337ab7;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 15px;
        text-align: center;
    }
    .header-center {
        font-size: 0.85em;
    }
}

/* ============================================
   PROFIL OLDAL
   ============================================ */
.profil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .profil-grid {
        grid-template-columns: 1fr;
    }
}

.profil-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 25px;
}

.profil-card h2 {
    margin-top: 0;
    font-size: 1.2em;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.profil-page-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.readonly-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.readonly-section h3 {
    font-size: 1em;
    color: #666;
    margin: 0 0 15px 0;
}

.info-row {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-row label {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 3px;
    font-weight: normal;
}

.info-row strong {
    font-size: 1.05em;
    color: #333;
}

/* ============================================
   KERESŐSÁV
   ============================================ */
.search-bar {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-bar input[type="text"] {
    width: 300px;
}

/* ============================================
   ŰRLAP RÁCS
   ============================================ */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .search-bar input[type="text"] {
        width: 100%;
    }
}

/* ============================================
   GOMB VÁLTOZATOK
   ============================================ */
.btn-small {
    padding: 5px 12px;
    font-size: 0.85em;
    margin-top: 0;
}

.btn-secondary {
    background: #666;
}

.btn-secondary:hover {
    background: #555;
	text-decoration: none;
}

.btn-danger {
    background: #c0392b;
}

.btn-danger:hover {
    background: #a93226;
}

.btn-success {
    background: #27ae60;
}

.btn-success:hover {
    background: #219150;
}

.btn-warning {
    background: #f0ad4e;
}

.btn-warning:hover {
    background: #ec971f;
}

.btn-iratmasolat {
	background-color: #7b3fbf;
}

.btn-iratmasolat:hover {
	background-color: #66309f;
}

.btn-betekintes {
	background-color: #00A36C;    
}

.btn-betekintes:hover {
	background-color: #088F8F;
}

/* Kompakt gombok: csak a dossziek kijelolt tetelein vegezheto muveleteknel. */
#dossziek-muvelet-bar > button.btn {
	padding-left: 16px;
	padding-right: 16px;
}

/* Kompakt gombok: csak a dobozok kijelolt tetelein vegezheto muveleteknel. */
#dobozok-muvelet-bar > button.btn {
	padding-left: 16px;
	padding-right: 16px;
} 
	
/* ============================================
   STÁTUSZ JELZŐK
   ============================================ */
.status-active {
    color: #3c763d;
    font-weight: bold;
}

.status-inactive {
    color: #a94442;
    font-weight: bold;
}

/* ============================================
   TÁBLÁZAT MŰVELETEK
   ============================================ */
.actions {
    white-space: nowrap;
}

.actions .btn,
.actions .btn-small {
    margin-right: 5px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.actions span.muted {
    color: #999;
    font-size: 0.85em;
}

/* ============================================
   SZERVEZET ŰRLAP
   ============================================ */
.form-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #2c3e50;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .form-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NAPLÓ (admin_naplo.php)
   ============================================ */
.filter-bar {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}

.filter-bar button.mt-0,
.filter-bar a.btn-secondary.mt-0 {
    box-sizing: border-box;
    height: 40px;
    min-height: 40px;
    margin-top: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    vertical-align: middle;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}

.filter-grid label {
    margin-top: 0;
    font-size: 0.9em;
}

.filter-grid input,
.filter-grid select {
    margin-top: 5px;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a,
.pagination strong {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #337ab7;
}

.pagination a:hover {
    background: #f0f0f0;
}

.pagination strong {
    background: #337ab7;
    color: #fff;
    border-color: #337ab7;
}

.log-success {
    color: #3c763d;
    font-weight: bold;
}

.log-fail {
    color: #a94442;
    font-weight: bold;
}

.log-user-unknown {
    color: #999;
    font-style: italic;
}

.nowrap {
    white-space: nowrap;
}

/* ============================================
   ÁLTALÁNOS SEGÉDOSZTÁLYOK
   ============================================ */
.highlight-danger {
    color: #c0392b;
}

.info-text {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95em;
}

/* =========================================================
   Selejtezési jegyzék
   ========================================================= */

.selejtezes-form-grid {
    display: grid;
    grid-template-columns: 0.6fr 0.4fr 2fr;
    gap: 15px;
}

.selejtezes-page-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.selejtezesi-jegyzek {
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #222;
}

.selejtezesi-jegyzek h2 {
    margin: 0 0 5px 0;
	text-align: center;
}

.selejtezesi-jegyzek .szervezet {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
	text-align: center;
}

.selejtezesi-jegyzek .fejlec-info {
    margin-bottom: 20px;
    color: #444;
    line-height: 1.6;
	text-align: center;
}

.selejtezesi-jegyzek .no-print {
    margin-bottom: 20px;
}

.selejtezesi-jegyzek button {
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
	align-items: right;
}

.selejtezesi-jegyzek table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    table-layout: fixed;
}

.selejtezesi-jegyzek th,
.selejtezesi-jegyzek td {
    border: 1px solid #333;
    padding: 5px 7px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.selejtezesi-jegyzek th {
    background: #eee;
    color: #000;
    vertical-align: middle;
    text-align: center;
}

.selejtezesi-jegyzek th:nth-child(1) {
    width: 10%;
}

.selejtezesi-jegyzek th:nth-child(2) {
    width: 10%;
}

.selejtezesi-jegyzek th:nth-child(3) {
    width: 14%;
}

.selejtezesi-jegyzek th:nth-child(4) {
    width: 43%;
}

.selejtezesi-jegyzek th:nth-child(5) {
    width: 11%;
}

.selejtezesi-jegyzek th:nth-child(6) {
    width: 12%;
}

.selejtezesi-jegyzek td:nth-child(1),
.selejtezesi-jegyzek td:nth-child(2),
.selejtezesi-jegyzek td:nth-child(3),
.selejtezesi-jegyzek td:nth-child(4),
.selejtezesi-jegyzek td:nth-child(5),
.selejtezesi-jegyzek td:nth-child(6)
{
    text-align: center;
}

/* A nyomtatási tábla külön osztályt kap, hogy ne ütközzön a lista oldal
   .selejtezes-table szabályaival (azok halványították a vízszintes vonalakat). */
.selejtezesi-jegyzek .selejtezes-nyomtatas-table {
    min-width: 0;
}

.selejtezesi-jegyzek .selejtezes-nyomtatas-table th,
.selejtezesi-jegyzek .selejtezes-nyomtatas-table td {
    border: 1px solid #333;
}

.selejtezesi-jegyzek .selejtezes-nyomtatas-table tbody tr,
.selejtezesi-jegyzek .selejtezes-nyomtatas-table tbody tr:hover {
    background: #fff;
}

/* Térköz a táblázat és a megjegyzés között (képernyőn is) */
.selejtezesi-jegyzek .nyomtatas-megjegyzes-spacer {
    height: 24px;
}

.selejtezesi-jegyzek .nyomtatas-megjegyzes {
    line-height: 1.5;
}

.selejtezesi-jegyzek .torolt {
    color: #a00;
    font-style: italic;
}

.selejtezesi-jegyzek .alairas {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

/* Tervezet: csak az Összeállította blokk, középen */
.selejtezesi-jegyzek .alairas.alairas-egyedul {
    justify-content: center;
}

.selejtezesi-jegyzek .alairas-blokk {
    width: 280px;
    text-align: center;
}

/* Végleges jegyzék: bizottsági tagok és jóváhagyó aláírásai */
.selejtezesi-jegyzek .alairas.alairas-bizottsag {
    gap: 30px;
    align-items: flex-start;
}

.selejtezesi-jegyzek .alairas-csoport {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.selejtezesi-jegyzek .alairas-csoport-sor {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.selejtezesi-jegyzek .alairas-bizottsag .alairas-blokk {
    flex: 1 1 0;
    width: auto;
    max-width: 280px;
    min-width: 0;
}

.selejtezesi-jegyzek .alairas-vonal {
    margin-top: 55px;
    border-top: 1px solid #333;
}

.selejtezesi-jegyzek .alairas-nev {
    padding-top: 5px;
    font-weight: bold;
}

.selejtezes-oldal {
    max-width: 1220px;
    margin: 0 auto;
}

.selejtezes-page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 24px 0 20px;
}

.selejtezes-page-title-row h1 {
    margin: 0;
}

.selejtezes-jegyzek-card {
    margin-bottom: 24px;
}

.selejtezes-jegyzek-card h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
}

.selejtezes-export-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.selejtezes-vegrehajtas {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.selejtezes-vegrehajtas form {
    margin: 0;
    width: 100%;
    max-width: 900px;
}

/* Selejtezési bizottság és jóváhagyó vezető mezői (tervezet nézet, a végrehajtás gomb fölött) */
.selejtezes-bizottsag {
    margin-bottom: 8px;
    text-align: left;
}

.selejtezes-bizottsag h3 {
    margin: 0 0 12px 0;
    text-align: center;
}

.selejtezes-bizottsag-alcim {
    margin: 18px 0 10px 0;
    text-align: center;
    color: #2c3e50;
}

.selejtezes-bizottsag-fejlec,
.selejtezes-bizottsag-sor {
    display: grid;
    grid-template-columns: 64px 130px 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.selejtezes-bizottsag-fejlec {
    font-size: 0.85rem;
    font-weight: 700;
    color: #444;
}

.selejtezes-bizottsag-sorszam {
    text-align: right;
    color: #666;
}

.selejtezes-rendszeren-belul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
}

/* Asztali nézetben a fejléc már kiírja, itt csak a jelölőnégyzet látszik */
.selejtezes-rendszeren-belul span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.selejtezes-nev-cella {
    min-width: 0;
}

.selejtezes-nev-cella [hidden] {
    display: none !important;
}

.selejtezes-bizottsag-sor input[type="text"],
.selejtezes-bizottsag-sor select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #c9d3dc;
    border-radius: 4px;
    background: #fff;
    font: inherit;
}

.selejtezes-bizottsag-sor input[readonly] {
    background: #f1f4f7;
    color: #444;
}

.selejtezes-megjegyzes-szerkeszto {
    margin-top: 18px;
    text-align: left;
}

.selejtezes-megjegyzes-szerkeszto label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.selejtezes-megjegyzes-szerkeszto textarea {
    width: 100%;
    min-height: 90px;
    padding: 8px 10px;
    border: 1px solid #c9d3dc;
    border-radius: 4px;
    font: inherit;
    resize: vertical;
}

.selejtezes-hianyzik {
    min-height: 1.2em;
    margin-top: 12px;
    font-size: 0.9rem;
    text-align: center;
    color: #a94442;
}

.selejtezes-bizottsag-gomb {
    margin-top: 10px;
    text-align: center;
}

.selejtezes-bizottsag-gomb button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .selejtezes-bizottsag-fejlec {
        display: none;
    }

    .selejtezes-bizottsag-sor {
        grid-template-columns: 1fr;
        padding-bottom: 10px;
        border-bottom: 1px solid #e1e7ec;
    }

    .selejtezes-bizottsag-sorszam {
        text-align: left;
        font-weight: 700;
    }

    .selejtezes-rendszeren-belul {
        justify-content: flex-start;
    }

    .selejtezes-rendszeren-belul span {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }
}

.selejtezes-vegrehajtas button {
    margin: 0;
}

.selejtezes-uj-jegyzek-card {
    margin-bottom: 24px;
}

.selejtezes-uj-jegyzek-toggle {
    display: flex;
    justify-content: center;
    margin: 0 0 20px;
}

.selejtezes-uj-jegyzek-toggle .btn {
    margin: 0;
}

.selejtezes-uj-jegyzek-card {
    margin-bottom: 24px;
}

.selejtezes-uj-jegyzek-panel {
    margin-bottom: 24px;
}

.selejtezes-uj-jegyzek-panel > summary {
    list-style: none;
}

.selejtezes-uj-jegyzek-panel > summary::-webkit-details-marker {
    display: none;
}

.selejtezes-uj-jegyzek-gomb {
    display: block;
    width: fit-content;
    margin: 0 auto 20px;
    padding: 10px 16px;
    border-radius: 6px;
    background: #337ab7;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.selejtezes-uj-jegyzek-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.selejtezes-add-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    background: #337ab7;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.selejtezes-add-link:hover {
    background: #286090;
    color: #fff;
    text-decoration: none;
}

.selejtezes-add-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.selejtezes-uj-jegyzek-gomb:hover {
    background: #286090;
}

.selejtezes-uj-jegyzek-card {
    margin-bottom: 0;
}

.selejtezes-form-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.selejtezes-form-actions button {
    margin: 0;
}

.selejtezes-form-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.selejtezes-form-actions button {
    margin: 0;
}

.selejtezes-form-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.selejtezes-form-actions button {
    margin: 0;
}

.selejtezes-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #d2e0eb;
    border-radius: 10px;
    background: #fff;
}

.selejtezes-search {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.selejtezes-search input[type="text"] {
    flex: 1 1 280px;
    min-width: 220px;
}

.selejtezes-search select {
    flex: 0 1 220px;
    min-width: 180px;
}

.selejtezes-search button,
.selejtezes-search .btn {
    margin: 0;
}

.selejtezes-section-title {
    margin: 24px 0 14px;
}

.selejtezes-section-title h2 {
    margin: 0;
}

.selejtezes-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #d2e0eb;
    border-radius: 10px;
    background: #fff;
}

.selejtezes-table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}

.selejtezes-table th {
    background: #e8f0f7;
    color: #23384d;
    font-weight: 700;
    text-align: left;
	vertical-align: middle;
}

.selejtezes-table th,
.selejtezes-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #e1e7ec;
    vertical-align: middle;
	text-align: center;
}

.selejtezes-table td {
    vertical-align: middle;
}

.selejtezes-table th:first-child,
.selejtezes-table td:first-child {
    text-align: center;
}

.selejtezes-table th:nth-child(2),
.selejtezes-table td:nth-child(2),
.selejtezes-table th:nth-child(3),
.selejtezes-table td:nth-child(3) {
    text-align: center;
}

.selejtezes-table tbody tr:last-child td {
    border-bottom: 0;
}

.selejtezes-table tbody tr:hover {
    background: #f8fafc;
}

.selejtezes-sort-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #23384d;
    text-decoration: none;
    font-weight: 700;
}

.selejtezes-sort-link:hover {
    color: #337ab7;
    text-decoration: underline;
}

.selejtezes-sort-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    flex-shrink: 0;
}

.selejtezes-sort-arrow.up {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #337ab7;
}

.selejtezes-sort-arrow.down {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #337ab7;
}

.selejtezes-muveletek {
    text-align: center;
    white-space: nowrap;
}

.selejtezes-muveletek .btn {
    margin: 2px;
}

.selejtezes-vissza {
    margin-top: 20px;
}

.selejtezes-statusz {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
}

.selejtezes-statusz.tervezet {
    background: #fff3cd;
    color: #856404;
}

.selejtezes-statusz.vegrehajtva {
    background: #dff3e4;
    color: #216e39;
}

@media (max-width: 900px) {
    .selejtezes-page-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .selejtezes-list-toolbar {
        align-items: stretch;
    }

    .selejtezes-search {
        flex-direction: column;
        align-items: stretch;
    }

    .selejtezes-search input[type="text"],
    .selejtezes-search select,
    .selejtezes-search button,
    .selejtezes-search .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .selejtezes-export-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .selejtezes-export-actions .btn {
        width: 100%;
        text-align: center;
    }

    .selejtezes-vegrehajtas {
        align-items: stretch;
    }

    .selejtezes-vegrehajtas .btn {
        width: 100%;
    }

    .selejtezes-table {
        min-width: 760px;
    }
}

/* =========================================================
   Selejtezési jegyzék – részletes nézet
   ========================================================= */

.selejtezes-jegyzek-card {
    text-align: center;
}

.selejtezes-jegyzek-fejlec {
    width: 100%;
}

.selejtezes-jegyzek-cim {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.selejtezes-jegyzek-cim strong {
    font-size: 1.15rem;
}

.selejtezes-vissza-fejlec {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.selejtezes-vissza-fejlec:hover {
    text-decoration: none;
}

.selejtezes-vissza-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 1.35rem !important;
    font-weight: 900;
    line-height: 1;

    color: #ffffff;

    position: relative;
    top: -1px;

    flex-shrink: 0;
}

.selejtezes-jegyzek-adatok {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.selejtezes-jegyzek-adatok div {
    text-align: center;
}

.selejtezes-export-actions {
    justify-content: center;
}

.selejtezes-detail-table {
    table-layout: fixed;
}

/* Részletes nézet: 5 oszlop */
.selejtezes-detail-table th:nth-child(1),
.selejtezes-detail-table td:nth-child(1) {
    width: 10%;
}

.selejtezes-detail-table th:nth-child(2),
.selejtezes-detail-table td:nth-child(2) {
    width: 16%;
}

.selejtezes-detail-table th:nth-child(3),
.selejtezes-detail-table td:nth-child(3) {
    width: 44%;
}

.selejtezes-detail-table th:nth-child(4),
.selejtezes-detail-table td:nth-child(4) {
    width: 15%;
}

.selejtezes-detail-table th:nth-child(5),
.selejtezes-detail-table td:nth-child(5) {
    width: 15%;
}

/* Tervezet esetén a Műveletek oszlop */
.selejtezes-detail-table th:nth-child(6),
.selejtezes-detail-table td:nth-child(6) {
    width: 18%;
}

.selejtezes-detail-table th,
.selejtezes-detail-table td {
    text-align: center;
    vertical-align: middle;
}


/* Mobil nézet */
@media (max-width: 900px) {
    .selejtezes-jegyzek-cim {
        flex-direction: column;
    }

    .selejtezes-vissza-fejlec {
        margin-left: 0;
    }
}

/* =========================================================
   Nyomtatás – selejtezési jegyzék
   ========================================================= */

/* Képernyőn a Nyomtatás gomb jobb oldalra igazítva */
.selejtezes-nyomtatas-toolbar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.selejtezes-nyomtatas-toolbar button {
    margin: 0;
}

/* ============================================================
   SELEJTEZÉSI JEGYZÉK – NYOMTATÁSI STÍLUS
   ============================================================ */

@media print {

    @page {
        size: A4 portrait;
        margin: 10mm;
    }

    html,
    body {
        width: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .selejtezesi-jegyzek {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;

        color: #000 !important;
        background: #fff !important;

        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 9pt !important;
    }

    /* Nyomtatás gomb */
    .selejtezesi-jegyzek .no-print {
        display: none !important;
    }

    /* --------------------------------------------------------
       FEJLÉC
       -------------------------------------------------------- */

    .selejtezesi-jegyzek h2 {
        margin: 0 0 6mm 0 !important;
        padding: 0 !important;

        color: #000 !important;
        background: transparent !important;

        text-align: center !important;
        font-size: 16pt !important;
        font-weight: bold !important;
    }

    .selejtezesi-jegyzek .szervezet {
        margin: 0 0 4mm 0 !important;
        padding: 0 !important;

        color: #000 !important;
        text-align: center !important;
        font-size: 11pt !important;
        font-weight: bold !important;
    }

    .selejtezesi-jegyzek .fejlec-info {
        margin: 0 0 5mm 0 !important;
        padding: 0 !important;

        color: #000 !important;
        text-align: center !important;
        font-size: 10pt !important;
    }

    /* --------------------------------------------------------
       TÁBLÁZAT
       -------------------------------------------------------- */

    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table {
        display: table !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;

        table-layout: fixed !important;

        border-collapse: separate !important;
        border-spacing: 0 !important;

        color: #000 !important;
        background: #fff !important;
    }

    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table thead {
        display: table-header-group !important;
    }

    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table tbody {
        display: table-row-group !important;
    }

    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table tr {
        display: table-row !important;

        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /*
     * FONTOS:
     * Nem egyetlen "border" szabályra hagyatkozunk.
     * Minden cellának külön felső és alsó vonalat adunk.
     * Így a vízszintes rácsvonalak akkor is megjelennek,
     * ha a globális style.css máshogy kezeli a táblázatokat.
     */

    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table th,
    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table td {
        display: table-cell !important;

        box-sizing: border-box !important;

        padding: 3px 4px !important;

        color: #000 !important;
        background: #fff !important;

        text-align: center !important;
        vertical-align: middle !important;

        border-top: 1px solid #333 !important;
        border-right: 1px solid #333 !important;
        border-bottom: 1px solid #333 !important;
        border-left: 1px solid #333 !important;

        line-height: 1.25 !important;

        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table thead th {
        overflow-wrap: normal !important;
        background: #e6e6e6 !important;
        color: #000 !important;

        font-weight: bold !important;
        text-align: center !important;
        vertical-align: middle !important;
    }

    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table tbody td {
        background: #fff !important;
        color: #000 !important;

        text-align: center !important;
        vertical-align: middle !important;
    }

    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table thead th:first-child {
        white-space: nowrap !important;
    }

    /* Törölt tétel */
    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table .torolt {
        color: #000 !important;
        font-style: italic !important;
    }

    /*
     * A táblázat utolsó sorának alsó vonala külön is biztosítva.
     */
    .selejtezesi-jegyzek table.selejtezes-nyomtatas-table tbody tr:last-child td {
        border-bottom: 1px solid #333 !important;
    }

    /*
     * A Megjegyzés előtti térköz:
     * NEM margin, hanem tényleges elem.
     */
    .selejtezesi-jegyzek .nyomtatas-megjegyzes-spacer {
        display: block !important;
        width: 100% !important;
        height: 10mm !important;
        min-height: 10mm !important;
    }

    .selejtezesi-jegyzek .nyomtatas-megjegyzes {
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #000 !important;
        background: transparent !important;

        text-align: left !important;
        line-height: 1.5 !important;
    }

    .selejtezesi-jegyzek .nyomtatas-megjegyzes strong {
        color: #000 !important;
    }

    /* --------------------------------------------------------
       ALÁÍRÁSOK
       -------------------------------------------------------- */

    .selejtezesi-jegyzek .alairas {
        display: flex !important;

        margin-top: 25mm !important;
        padding: 0 !important;

        justify-content: space-between !important;
        gap: 20mm !important;

        color: #000 !important;

        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /* Tervezet: csak az Összeállította blokk, középen */
    .selejtezesi-jegyzek .alairas.alairas-egyedul {
        justify-content: center !important;
    }

    .selejtezesi-jegyzek .alairas-blokk {
        width: 80mm !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #000 !important;
        text-align: center !important;
    }

    /* Végleges jegyzék: bizottsági tagok és jóváhagyó aláírásai */
    .selejtezesi-jegyzek .alairas.alairas-bizottsag {
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 8mm !important;
    }

    .selejtezesi-jegyzek .alairas-csoport {
        /* a flex-grow értéket a HTML inline stílusa adja (tagok száma) */
        flex-basis: 0 !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        text-align: center !important;
        color: #000 !important;
    }

    .selejtezesi-jegyzek .alairas-csoport-sor {
        display: flex !important;
        justify-content: center !important;
        gap: 6mm !important;
    }

    .selejtezesi-jegyzek .alairas-bizottsag .alairas-blokk {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: 80mm !important;
        min-width: 0 !important;
        overflow-wrap: break-word !important;
    }

    .selejtezesi-jegyzek .alairas-vonal {
        margin: 15mm 0 0 0 !important;
        padding: 0 !important;

        border-top: 1px solid #000 !important;
    }

    .selejtezesi-jegyzek .alairas-nev {
        padding-top: 1.5mm !important;
        font-weight: bold !important;
    }
}

/* =========================================================
   Selejtezési jegyzék – főoldal
   ========================================================= */

.selejtezesi-jegyzek .jegyzek-kartya {
    margin-bottom: 30px;
}

.selejtezesi-jegyzek .jegyzek-muveletek {
    margin-bottom: 15px;
}

.selejtezesi-jegyzek .jegyzek-letrehozas-gomb {
    margin-top: 15px;
}

.selejtezesi-jegyzek .vissza-link {
    margin-top: 20px;
}

.selejtezesi-jegyzek .ures-sor {
    color: #666;
}

.selejtezesi-jegyzek .inline-form {
    display: inline;
}

/* irattaros.php - munkaterület menü */

.irattaros-section {
    margin: 22px 0 26px 0;
    padding: 18px 18px 20px 18px;

    background: #eef3f7;
    border: 1px solid #d7e1e8;
    border-radius: 10px;
}

/* Szekciócím */
.irattaros-section .section-title {
    margin: 0 0 14px 0;
    padding-bottom: 10px;

    font-size: 1.1rem;
    font-weight: 600;

    color: #1f4e79;

    border-bottom: 1px solid #dce4ea;
}

.irattaros-section h2 {   
	margin-top: -15px !important;
    margin-bottom: 1px !important;
	text-align: center;
}

.menu-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-lista li {
    margin-bottom: 8px;
}
.menu-lista a {
    display: block;
    padding: 12px 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #222;
    transition: background 0.15s;
}
.menu-lista a:hover {
    background: #eef4ff;
}
.menu-lista .leiras {
    display: block;
    font-size: 0.85em;
    color: #777;
    font-weight: normal;
    margin-top: 2px;
}

/* =========================================================
   ÜGYFÉLPORTÁL
   ========================================================= */

.ugyfel-oldal {
	max-width: 1220px;
}

.ugyfel-hero {
    margin-bottom: 30px;
}

.ugyfel-hero h1 {
    margin-bottom: 8px;
}

.ugyfel-hero p {
    margin: 4px 0;
    color: #666;
}

.ugyfel-modulok {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(240px, 1fr)
        );
    gap: 20px;
    margin-top: 25px;
}

.ugyfel-kartya {
    display: block;
    padding: 22px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
	text-align: center;
    color: inherit;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.ugyfel-kartya:hover {
	text-decoration: none;
	background: #E0F2FE;
    transform: translateY(-2px);
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.08);
}

.ugyfel-kartya .ikon {
    font-size: 34px;
    margin-bottom: 12px;
}

.ugyfel-kartya h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
}

.ugyfel-kartya p {
    margin: 0;
    color: #666;
    line-height: 1.45;
}

.ugyfel-szakasz {
    margin-top: 35px;
}

.ugyfel-info {
    padding: 18px;
    border-radius: 6px;
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
	text-align: center;
}

.ugyfel-fejlec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.ugyfel-kijelentkezes {
    white-space: nowrap;
}

@media (max-width: 600px) {

    .ugyfel-kartya {
        padding: 18px;
    }

}

/* =========================================================
   ÜGYFÉLPORTÁL - ÜGYFÉL IRATOK OLDAL
   ========================================================= */

.ugyfel-iratok-oldal {
	max-width: 1220px;
}
   
/* ============================================================
   DOCUPONT - BEJELENTKEZÉSI OLDAL
   ============================================================ */

body.login-page {
    min-height: 100vh !important;
    width: 100% !important;

    margin: 0 !important;
    padding: 30px 20px !important;

	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;

    /* Irattári háttérkép */
    background:
        linear-gradient(
            rgba(10, 28, 52, 0.15),
            rgba(10, 28, 52, 0.15)
        ),
        url("../images/irattar-hatter.png")
        center center / cover no-repeat fixed !important;

    color: #253746 !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;
}

/* Mobiltelefonokon is megfelelően jelenjen meg */
@media (max-width: 600px) {
    body.login-page {
        background-attachment: scroll !important;
        background-position: center center !important;
    }
}

/* A login oldal minden eleme */
body.login-page,
body.login-page *,
body.login-page *::before,
body.login-page *::after {
    box-sizing: border-box !important;
}


/* ============================================================
   KÖZPONTI KÁRTYA
   ============================================================ */

body.login-page .login-wrapper {
    display: block !important;

    width: 100% !important;
    max-width: 500px !important;

    margin: 0 auto !important;
}


body.login-page .login-card {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 40px !important;

    background: #ffffff !important;

    border: 1px solid #e3e9ed !important;

    border-radius: 18px !important;

    box-shadow:
        0 18px 45px rgba(35, 55, 70, 0.12),
        0 4px 14px rgba(35, 55, 70, 0.06) !important;
}


/* ============================================================
   LOGÓ
   ============================================================ */

body.login-page .login-logo {
    display: block !important;

    width: 100% !important;

    margin: 0 0 24px 0 !important;

    padding: 0 !important;

    text-align: center !important;
}


body.login-page .login-logo img {
    display: inline-block !important;

    width: 275px !important;
    max-width: 82% !important;

    height: auto !important;

    margin: 0 auto !important;
    padding: 0 !important;

    border: 0 !important;

    border-radius: 0 !important;

    background: transparent !important;

    vertical-align: middle !important;
}


/* ============================================================
   CÍM ÉS BEVEZETŐ
   ============================================================ */

body.login-page .login-title {
    display: block !important;

    margin: 0 0 14px 0 !important;
    padding: 0 !important;

    text-align: center !important;

    font-size: 1.65rem !important;
    line-height: 1.3 !important;

    font-weight: 700 !important;

    color: #2c3e50 !important;
}

body.login-page .login-title-teszt {
    display: block !important;

    margin: 0 0 14px 0 !important;
    padding: 0 !important;

    text-align: center !important;

    font-size: 1.65rem !important;
    line-height: 1.3 !important;

    font-weight: 700 !important;

    color: #2c3e50 !important;
}

body.login-page .login-intro {
    display: block !important;

    max-width: 420px !important;

    margin: 0 auto 28px auto !important;
    padding: 0 !important;

    text-align: center !important;

    font-size: 0.96rem !important;
    line-height: 1.6 !important;

    color: #667781 !important;
}


/* ============================================================
   HIBAÜZENET
   ============================================================ */

body.login-page .login-error {
    display: block !important;

    width: 100% !important;

    margin: 0 0 22px 0 !important;
    padding: 13px 15px !important;

    background: #fff1f1 !important;

    border: 1px solid #efcaca !important;

    border-radius: 10px !important;

    color: #a33a3a !important;

    font-size: 0.92rem !important;

    line-height: 1.5 !important;
}


/* ============================================================
   ŰRLAP
   ============================================================ */

body.login-page .login-form {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


body.login-page .login-form-group {
    display: block !important;

    width: 100% !important;

    margin: 0 0 18px 0 !important;
    padding: 0 !important;
}


body.login-page .login-form-group label {
    display: block !important;

    width: 100% !important;

    margin: 0 0 7px 0 !important;
    padding: 0 !important;

    text-align: left !important;

    font-size: 0.92rem !important;
    line-height: 1.4 !important;

    font-weight: 700 !important;

    color: #314754 !important;
}


body.login-page .login-form-group input {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 13px 14px !important;

    border: 1px solid #cbd6dd !important;

    border-radius: 10px !important;

    background: #fbfcfd !important;

    color: #253746 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1rem !important;

    line-height: 1.4 !important;

    outline: none !important;

    box-shadow: none !important;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease !important;
}


body.login-page .login-form-group input:focus {
    border-color: #5f879f !important;

    background: #ffffff !important;

    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(95, 135, 159, 0.14) !important;
}


body.login-page .login-form-group input::placeholder {
    color: #9aa8b1 !important;

    opacity: 1 !important;
}


/* ============================================================
   CAPTCHA
   ============================================================ */

body.login-page .login-captcha {
    display: block !important;

    width: 100% !important;

    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}


body.login-page .captcha-image-wrapper {
    display: block !important;

    width: 100% !important;

    margin: 0 0 8px 0 !important;
    padding: 9px !important;

    text-align: center !important;

    background: #f6f8fa !important;

    border: 1px solid #d9e0e5 !important;

    border-radius: 10px !important;
}


body.login-page .captcha-image-wrapper img {
    display: inline-block !important;

    width: auto !important;
    max-width: 100% !important;

    height: auto !important;

    margin: 0 auto !important;
    padding: 0 !important;

    border: 0 !important;

    border-radius: 6px !important;

    vertical-align: middle !important;

    cursor: pointer !important;
}


body.login-page .captcha-help {
    display: block !important;

    margin: 6px 0 8px 0 !important;
    padding: 0 !important;

    text-align: center !important;

    font-size: 0.78rem !important;
    line-height: 1.4 !important;

    color: #7b8992 !important;
}


body.login-page #captcha {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 13px 14px !important;

    border: 1px solid #cbd6dd !important;

    border-radius: 10px !important;

    background: #fbfcfd !important;

    color: #253746 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1rem !important;

    line-height: 1.4 !important;

    outline: none !important;
}


body.login-page #captcha:focus {
    border-color: #5f879f !important;

    background: #ffffff !important;

    box-shadow:
        0 0 0 3px rgba(95, 135, 159, 0.14) !important;
}


/* ============================================================
   BELÉPÉS GOMB
   ============================================================ */

body.login-page .login-button {
    display: block !important;

    width: auto !important;

    margin: 6px auto 0 auto !important;

    padding: 13px 32px !important;

    border: 0 !important;

    border-radius: 10px !important;

    background: #345f78 !important;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 1rem !important;

    line-height: 1.4 !important;

    font-weight: 700 !important;

    text-align: center !important;

    cursor: pointer !important;

    box-shadow: none !important;

    transition:
        background 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease !important;
}

body.login-page .login-button:hover {
    background: #294f65 !important;

    box-shadow:
        0 8px 20px rgba(52, 95, 120, 0.22) !important;
}


body.login-page .login-button:active {
    transform: translateY(1px) !important;
}


/* ============================================================
   SEGÍTSÉG / KAPCSOLAT
   ============================================================ */

body.login-page .support-box {
    display: block !important;

    width: 100% !important;

    margin: 30px 0 0 0 !important;
    padding: 22px 24px !important;

    background: #f5f8fa !important;

    border: 1px solid #dce5ea !important;

    border-radius: 13px !important;

    text-align: center !important;
}


body.login-page .support-title {
    margin: 0 0 10px 0 !important;

    text-align: center !important;

    font-size: 1rem !important;

    line-height: 1.4 !important;

    font-weight: 700 !important;

    color: #344b59 !important;
}


body.login-page .support-text {
    margin: 0 auto 17px auto !important;

    max-width: 390px !important;

    text-align: center !important;

    font-size: 0.88rem !important;

    line-height: 1.55 !important;

    color: #687984 !important;
}


body.login-page .support-contact {
    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    gap: 10px !important;
}


body.login-page .support-row {
    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 10px !important;

    min-height: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 0.9rem !important;
}


body.login-page .support-icon {
    width: 30px !important;
    height: 30px !important;

    flex: 0 0 30px !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    border: 1px solid #dce5ea !important;

    border-radius: 8px !important;

    font-size: 0.95rem !important;
}


body.login-page .support-row a {
    display: inline !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #315f78 !important;

    text-decoration: none !important;

    font-weight: 600 !important;
}


body.login-page .support-row a:hover {
    text-decoration: underline !important;
}


/* ============================================================
   LÁBLÉC
   ============================================================ */

body.login-page .login-footer {
    display: block !important;

    margin: 20px 0 0 0 !important;
    padding: 0 !important;

    text-align: center !important;

    font-size: 0.75rem !important;

    line-height: 1.4 !important;

    color: #93a0a8 !important;
}


/* ============================================================
   MOBIL
   ============================================================ */

@media (max-width: 560px) {

    body.login-page {
        padding: 18px 12px !important;
    }


    body.login-page .login-card {
        padding: 30px 22px 25px !important;

        border-radius: 16px !important;
    }


	body.login-page .login-logo img {
		width: 245px !important;
		max-width: 82% !important;
	}


    body.login-page .login-title {
        font-size: 1.45rem !important;
    }


    body.login-page .login-intro {
        font-size: 0.92rem !important;
    }


    body.login-page .support-box {
        padding: 17px 16px !important;
    }

}

/* ============================================
   SUPERVISOR – SZERVEZETVÁLASZTÓ
   ============================================ */

.szervezet-valaszto-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 auto;
    max-width: 100%;
}

.szervezet-valaszto-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 10px 16px;

    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 8px;

    color: #333;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.szervezet-valaszto-item:hover {
    background: #f7faff;
    border-color: #337ab7;
    color: #337ab7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.szervezet-valaszto-item:active {
    transform: translateY(0);
}

/* Tablet */
@media (max-width: 900px) {
    .szervezet-valaszto-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobil */
@media (max-width: 600px) {
    .szervezet-valaszto-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .szervezet-valaszto-item {
        min-height: 52px;
    }
}

/* ============================================
   FEJLÉC – DOCUPONT
   ============================================ */

.main-header {
    display: flex;
    align-items: center;
    gap: 25px;

    min-height: 90px;
    padding: 14px 20px;

    background: #e8f0f7;
    color: #333333;

    border-radius: 10px;
    border: 1px solid #d2e0eb;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);

    margin-bottom: 25px;
}

/* --------------------------------------------
   BAL OLDAL – LOGO
   -------------------------------------------- */

.header-left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    display: block;
    width: 180px;
    height: auto;
    max-width: 100%;
}

/* --------------------------------------------
   KÖZÉP – FELHASZNÁLÓI INFORMÁCIÓ
   -------------------------------------------- */

.header-center {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.5;
}

.header-user {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 5px;
}

.header-user strong {
    color: #222222;
}

.header-separator {
    margin: 0 5px;
    color: #8a9aaa;
}

.header-role {
    color: #337ab7;
    font-weight: 600;
}

.header-organization {
    font-size: 1rem;
    color: #444444;
    line-height: 1.6;
}

.header-label {
    color: #607080;
    font-weight: 500;
}

.header-organization strong {
    color: #1f4e79;
    font-size: 1.05rem;
}

.header-managed-organization {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 12px;
    border: 1px solid #d69e2e;
    border-radius: 8px;
    background: #fff8e6;
}

.header-managed-label {
    color: #9a6b00;
    font-weight: 500;
}

.header-managed-organization strong {
    color: #a65f00;
    font-size: 1.05rem;
}

/* --------------------------------------------
   JOBB OLDAL – KILÉPÉS
   -------------------------------------------- */

.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.btn-kilepes {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 17px;

    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #c5d3df;

    color: #444444;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.btn-kilepes:hover {
    background: #f5f8fa;
    border-color: #9fb4c5;
    color: #1f4e79;
}

/* --------------------------------------------
   JELSZÓ LEJÁRAT FIGYELMEZTETÉS
   -------------------------------------------- */

.figyelmeztetes {
    margin: -10px 0 20px 0;
    padding: 10px 14px;

    background: #fff8e5;
    border: 1px solid #f0d98a;
    border-radius: 6px;

    color: #735c00;
    font-size: 0.9rem;
}

.figyelmeztetes a {
    color: #337ab7;
    font-weight: 600;
}

/* --------------------------------------------
   MOBIL
   -------------------------------------------- */

@media (max-width: 800px) {

    .main-header {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px;
    }

    .header-left {
        width: 100%;
        justify-content: center;
    }

    .header-logo img {
        width: 160px;
    }

    .header-center {
        width: 100%;
        text-align: center;
    }

    .header-organization > div {
        display: block;
        margin-right: 0;
    }

    .header-right {
        width: 100%;
        justify-content: center;
    }

    .btn-kilepes {
        min-width: 110px;
    }
}

/* ============================================
   ADMIN FŐOLDAL
   ============================================ */

.admin-container {
    max-width: 1220px;
}

/* --------------------------------------------
   KIVÁLASZTOTT SZERVEZET
   -------------------------------------------- */

.admin-szervezet-sor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin: -5px 0 20px 0;
    padding-bottom: 14px;

    border-bottom: 1px solid #e2e7eb;
}

.admin-szervezet-info {
    color: #666;
    font-size: 0.95rem;
}

.admin-szervezet-info > span:first-child {
    margin-right: 5px;
}

.admin-szervezet-info strong {
    color: #1f4e79;
    font-size: 1rem;
}

.admin-szervezet-azonosito {
    color: #999;
    font-size: 0.85rem;
    margin-left: 4px;
}

.admin-szervezet-valtas {
    flex: 0 0 auto;

    color: #337ab7;
    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;
    white-space: nowrap;

    padding: 7px 11px;
    border-radius: 5px;
}

.admin-szervezet-valtas:hover {
    background: #eef5fa;
    color: #1f4e79;
}

/* --------------------------------------------
   STATISZTIKAI KÁRTYÁK
   -------------------------------------------- */

.admin-container .stats-row {
    gap: 12px;
    margin-bottom: 20px;
}

.admin-container .stat-card {
    padding: 12px 10px;
    min-height: 82px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.admin-container .stat-card h3 {
    margin: 0 0 3px 0;
    font-size: 1.65rem;
}

.admin-container .stat-card p {
    margin: 0;
    font-size: 0.85rem;
}

/* --------------------------------------------
   SZEKCIÓCÍMEK
   -------------------------------------------- */

.admin-container .section-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

/* --------------------------------------------
   ADMIN KÁRTYÁK
   -------------------------------------------- */

.admin-container .admin-menu {
    gap: 12px;
    margin-bottom: 16px;
}

.admin-container .admin-menu-card {
    padding: 16px 15px;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.admin-container .admin-menu-card h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.admin-container .admin-menu-card p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    max-width: 310px;
}

.admin-container .admin-menu-card .btn {
    margin-top: 12px;
    padding: 8px 18px;
    font-size: 0.88rem;
}

/* Jogosultsági / csak supervisor szöveg */
.admin-container .admin-menu-card p[style] {
    max-width: 100%;
}

/* --------------------------------------------
   DESKTOP – MÉG KOMPAKTABB ELRENDEZÉS
   -------------------------------------------- */

@media (min-width: 1000px) {

    .admin-container {
        max-width: 1220px;
    }

    .admin-container .admin-menu-card {
        min-height: 145px;
    }

    .admin-container .stats-row {
        margin-bottom: 18px;
    }
}

/* --------------------------------------------
   TABLET
   -------------------------------------------- */

@media (max-width: 800px) {

    .admin-container {
        max-width: 100%;
    }

    .admin-szervezet-sor {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-szervezet-valtas {
        align-self: flex-end;
    }
}

/* --------------------------------------------
   MOBIL
   -------------------------------------------- */

@media (max-width: 600px) {

    .admin-szervezet-sor {
        gap: 10px;
    }

    .admin-szervezet-valtas {
        align-self: center;
    }

    .admin-container .admin-menu-card {
        min-height: 0;
        padding: 15px 12px;
    }
}

/* ============================================
   ADMIN FŐOLDAL – VIZUÁLIS TAGOLÁS
   ============================================ */

.admin-section {
    margin: 22px 0 26px 0;
    padding: 18px 18px 20px 18px;

    background: #eef3f7;
    border: 1px solid #d7e1e8;
    border-radius: 10px;
}

/* Első szekció kissé közelebb a statisztikákhoz */
.admin-section:first-of-type {
    margin-top: 20px;
}

/* Szekciócím */
.admin-section .section-title {
    margin: 0 0 14px 0;
    padding-bottom: 10px;

    font-size: 1.1rem;
    font-weight: 600;

    color: #1f4e79;

    border-bottom: 1px solid #dce4ea;
}

/* A kártyák már magukban is elkülönülnek,
   de a szekció miatt kevésbé olvadnak össze */
.admin-section .admin-menu {
    margin: 0;
    gap: 12px;
}

/* Kártyák */
.admin-section .admin-menu-card {
    background: #ffffff;
    border: 1px solid #dfe5ea;
    border-radius: 8px;

    padding: 15px 14px;

    text-align: center;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Kártya cím */
.admin-section .admin-menu-card h3 {
    margin: 0 0 7px 0;
    color: #333;
}

/* Kártyán belüli gomb */
.admin-section .admin-menu-card .btn {
    margin-top: 12px;
}

/* Supervisor-only információ */
.admin-card-info {
    color: #888 !important;
    font-size: 0.82rem;
    margin-top: 10px !important;
}

.stat-reszletek {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.stat-reszletek-sor {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.stat-reszlet-kartya {
	margin: 0;
	min-width: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;

	display: flex;
	flex-direction: column;
}

/* Statisztikai kártyák: nincs extra felső/alsó margó */
.stat-reszletek .stat-reszlet-kartya {
	margin-top: 0;
	margin-bottom: 0;
}

.stat-reszlet-toggle {
	width: 100%;
	min-height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border: 0;
	border-radius: 8px;
	padding: 12px 16px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1.1em;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	flex-shrink: 0;
}

.stat-reszlet-toggle:hover {
	opacity: 0.85;
}

.stat-reszlet-toggle-jel {
	flex: 0 0 auto;
	font-size: 0.85em;
}

.stat-reszlet-tartalom {
	flex: 1;
}

.stat-reszlet-tartalom[hidden] {
	display: none;
}

.stat-reszlet-kartya .admin-menu-card {
	margin-top: 0;
	width: 100%;
	box-sizing: border-box;
}

@media (max-width: 900px) {
	.stat-reszletek-sor {
		grid-template-columns: 1fr;
	}
}
			
/* --------------------------------------------
   STATISZTIKAI RÉSZ KIEMELÉSE
   -------------------------------------------- */

.admin-container .stats-row {
    margin-top: 5px;
    margin-bottom: 25px;
}

.admin-container .stat-card {
    background: #f8fafc;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.035);
}

/* --------------------------------------------
   ADMIN CÍM
   -------------------------------------------- */

.admin-container > h1 {
    margin-bottom: 8px;
    color: #333;
}

/* --------------------------------------------
   KISEBB KÉPERNYŐ
   -------------------------------------------- */

@media (max-width: 600px) {

    .admin-section {
        padding: 14px 12px 16px 12px;
        margin-bottom: 18px;
    }

    .admin-section .section-title {
        font-size: 1rem;
    }
}

/* ============================================
   NAPLÓZÁS ÉS BIZTONSÁG – 4 KÁRTYA EGY SORBAN
   ============================================ */

.admin-security-section .admin-menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-security-section .admin-menu-card {
    min-height: 145px;
}

/* Tablet */
@media (max-width: 900px) {

    .admin-security-section .admin-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobil */
@media (max-width: 600px) {

    .admin-security-section .admin-menu {
        grid-template-columns: 1fr;
    }

    .admin-security-section .admin-menu-card {
        min-height: 0;
    }
}

/* ============================================
   ADMIN SZERVEZETEK – LISTA
   ============================================ */

.admin-page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 18px;
}

.admin-page-title-row h1 {
    margin: 0;
}


/* --------------------------------------------
   VISSZA GOMB
   -------------------------------------------- */

.admin-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 8px 14px;

    background: #eeeeee;
    border: 1px solid #d1d1d1;
    border-radius: 6px;

    color: #222222;
    text-decoration: none;

    font-size: 0.88rem;
    font-weight: 600;

    white-space: nowrap;
}

.admin-back-link:hover {
    background: #e4e4e4;
    border-color: #c2c2c2;
    color: #111111;
    text-decoration: none !important;
}

.admin-back-link:hover span {
    text-decoration: none !important;
}

.admin-back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;

    color: #111111;

    position: relative;
    top: -1px;

    flex-shrink: 0;
}


/* --------------------------------------------
   KERESŐ + ÚJ SZERVEZET
   -------------------------------------------- */

.admin-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 20px;
}

.admin-search-bar {
    flex: 1 1 auto;
    margin: 0;
}

.admin-add-link {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 9px 15px;

    background: #eaf3f9;
    border: 1px solid #bdd0df;
    border-radius: 6px;

    color: #1f4e79;
    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 600;

    white-space: nowrap;
}

.admin-add-link:hover {
    background: #dfeef7;
    border-color: #9fb8ca;
    color: #163c5d;
    text-decoration: none !important;
}

.admin-add-link:hover span {
    text-decoration: none !important;
}

.admin-add-icon {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 0.8;
}


/* --------------------------------------------
   LISTA FEJLÉC
   -------------------------------------------- */

.admin-list-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;

    margin: 18px 0 10px 0;
}

.admin-list-heading h2 {
    margin: 0;
}

.admin-list-summary {
    color: #777777;
    font-size: 0.85rem;
}


/* --------------------------------------------
   TÁBLÁZAT
   -------------------------------------------- */

.org-table {
    width: 100%;
}

.org-table th,
.org-table td {
    text-align: center;
    vertical-align: middle;
}

.org-table th {
    white-space: nowrap;
}

.table-sort {
    color: inherit;
    text-decoration: none;
}

.table-sort:hover {
    color: #337ab7;
}

.table-sort span {
    margin-left: 4px;
    font-size: 0.72em;
}

.table-sort,
.table-sort:hover,
.table-sort:focus,
.table-sort:active {
    color: #fff !important;
    text-decoration: none !important;
}


/* --------------------------------------------
   LAPOZÁS
   -------------------------------------------- */

.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    margin: 20px 0 10px 0;
}

.admin-pagination a,
.admin-pagination strong {
    min-width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 9px;

    border-radius: 5px;

    font-size: 0.88rem;
    text-decoration: none;
}

.admin-pagination a {
    background: #f1f3f5;
    border: 1px solid #d5dce2;
    color: #333333;
}

.admin-pagination a:hover {
    background: #e5ebef;
    border-color: #bdc9d1;
}

.admin-pagination strong {
    background: #337ab7;
    border: 1px solid #337ab7;
    color: #ffffff;
}


/* --------------------------------------------
   MOBIL
   -------------------------------------------- */

@media (max-width: 800px) {

    .admin-page-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-list-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-add-link {
        align-self: flex-end;
    }

    .admin-list-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ============================================
   ADMIN ŰRLAP – MŰVELETI GOMBOK
   ============================================ */

.admin-form-actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    text-align: center;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.admin-form-actions > button,
.admin-form-actions > .admin-cancel-link {
    box-sizing: border-box;
    height: 40px;
    min-height: 40px;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    vertical-align: middle;
}

.admin-form-actions > button {
    padding: 0 25px;
    cursor: pointer;
}

.admin-cancel-link {
    padding: 0 25px;
    background: #eeeeee;
    border: 1px solid #d1d1d1;
    color: #222222;
    text-decoration: none;
    cursor: pointer;
}

.admin-cancel-link:hover {
    background: #e4e4e4;
    border-color: #c2c2c2;
    color: #111111;
    text-decoration: none !important;
}

@media (max-width: 900px) {

    .form-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .form-grid-3 {
        grid-template-columns: 1fr;
    }

}

/* --------------------------------------------
   POLCOK
   -------------------------------------------- */
   
.polc-list-heading {
	margin-bottom: 14px;
}

.polc-list-heading h2 {
	margin: 0;
	text-align: center;
}

.polc-list-summary {
	margin: 6px 0 0;
	text-align: center;
	color: #667584;
}

.polcok-oldal {
	max-width: 1220px;
	margin: 0 auto;
}

.polcok-page-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.polcok-page-title-row h1 {
	margin: 0;
}

.polcok-kezeltszervezet {
	margin: 5px 0 0;
	color: #4e5d6c;
	font-size: .95rem;
}

.polcok-list-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.polcok-search-form {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	gap: 10px;
	margin: 0;
}

.polcok-search-form input[type="text"] {
	width: 100%;
	max-width: 520px;
	box-sizing: border-box;
}

.polcok-add-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
	color: #337ab7;
	text-decoration: none !important;
	font-weight: 700;
}

.polcok-add-link:hover,
.polcok-add-link:focus {
	text-decoration: none !important;
}

.polcok-add-icon {
	font-size: 1.45rem;
	line-height: 1;
	font-weight: 900;
}

.polcok-form-card {
	margin-bottom: 24px;
}

.polcok-form-card h2 {
	margin-top: 0;
}

.polcok-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

.polcok-form-grid .full-width {
	grid-column: 1 / -1;
}

.polcok-form-grid textarea {
	min-height: 110px;
	resize: vertical;
}

.polcok-table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid #d2e0eb;
	border-radius: 10px;
	background: #fff;
}

.polcok-table {
	width: 100%;
	min-width: 920px;
	border-collapse: collapse;
}

.polcok-table th,
.polcok-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #dfe7ed;
	vertical-align: middle;
	text-align: center;
}

.polcok-table th {
	background: #e8f0f7;
	color: #23384d;
	font-weight: 700;
	text-align: center;
	white-space: nowrap;
}

.polcok-table tbody tr:last-child td {
	border-bottom: none;
}

.polcok-table .sort-link {
	color: #23384d !important;
	text-decoration: none !important;
}

.polcok-table .sort-link:hover,
.polcok-table .sort-link:focus,
.polcok-table .sort-link:active {
	color: #23384d !important;
	text-decoration: none !important;
}

.polcok-table .sort-jel {
	margin-left: 4px;
	font-weight: 900;
}

.polc-statusz {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 88px;
	padding: 5px 8px;
	border-radius: 999px;
	font-size: .83rem;
	font-weight: 700;
	white-space: nowrap;
}

.polc-statusz.aktiv {
	background: #e7f4e8;
	color: #2d6a32;
}

.polc-statusz.inaktiv {
	background: #fde8e8;
	color: #666;
}

.polcok-table td.polc-megjegyzes-cella {
	vertical-align: middle !important;
	text-align: center !important;
}

.polc-megjegyzes {
	width: 100%;
	min-height: 40px;
	box-sizing: border-box;
	color: #5d6b78;
	line-height: 1.4;
	text-align: center;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	padding: 8px 0;
}

.polc-muveletek {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.polc-muveletek > .btn,
.polc-muveletek > form {
	width: 112px;
	min-width: 112px;
	height: 40px;
	min-height: 40px;
	margin: 0 !important;
	box-sizing: border-box;
}

.polc-muveletek > form {
	display: block;
}

.polc-muveletek > .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	padding: 0 10px;
}

.polc-muveletek button {
	width: 100%;
	min-width: 0;
	height: 40px;
	min-height: 40px;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	white-space: nowrap;
}

/* Műveleti gombok középre */
.polcok-form-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}

.polc-ures {
	padding: 28px 20px !important;
	text-align: center;
	color: #666;
}


.polcok-vissza {
	margin-top: 20px;
}

@media (max-width: 900px) {
	.polcok-page-title-row,
	.polcok-list-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.polcok-search-form {
		width: 100%;
	}

	.polcok-search-form input[type="text"] {
		max-width: none;
	}
}

@media (max-width: 700px) {
	.polcok-form-grid {
		grid-template-columns: 1fr;
	}

	.polcok-form-grid .full-width {
		grid-column: auto;
	}
}

/* --------------------------------------------
   IRATTÁROS MUNKATERÜLET
   -------------------------------------------- */
   
.irattaros-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.irattaros-page-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.irattaros-szervezetvaltas-gomb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.irattaros-page-header h1 {
	margin: -20px;
}

.irattaros-kezeltszervezet {
	margin: 4px 0 0;
	justify-content: center;
	text-align: center;
	color: #4e5d6c;
	font-size: 1.05rem;
}

.irattaros-switch-section {
	margin-bottom: 20px;
}

.irattaros-switch-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.irattaros-switch-card {
	width: 100%;
	min-height: 82px;
	padding: 14px 16px;
	border: 1px solid #d2e0eb;
	border-radius: 10px;
	background: #fff;
	color: #222;
	text-align: center;
	font: inherit;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.irattaros-switch-card:hover {
	border-color: #337ab7;
	background: #BDE0FE;
	box-shadow: 0 3px 10px rgba(51, 122, 183, 0.10);
}

.irattaros-switch-card.kijelolt {
	background: #D6EBFA;
	border-color: #337ab7;
	box-shadow: 0 2px 7px rgba(51, 122, 183, 0.10);
}

.irattaros-switch-card strong {
	display: block;
	margin-bottom: 4px;
	font-size: 1rem;
}

.irattaros-switch-card span {
	display: block;
	color: #5b6875;
	font-size: 0.9rem;
}

.irattaros-level-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.irattaros-level-kartya {
	min-height: 138px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	text-decoration: none !important;
	color: #222;
}

.irattaros-level-kartya:hover {
	text-decoration: none !important;
	background: #BDE0FE;
}

.irattaros-level-kartya .irattaros-level-icon {
	display: block;
	font-size: 2rem;
	line-height: 1;
	margin-bottom: 9px;
}

.irattaros-level-kartya .irattaros-level-title {
	display: block;
	font-size: 1.05rem;
	font-weight: 800;
	margin-bottom: 5px;
}

.irattaros-level-kartya .irattaros-level-desc {
	display: block;
	color: #586776;
	font-size: 0.9rem;
	line-height: 1.4;
}

.irattaros-level-inaktiv {
	opacity: 0.38;
	cursor: not-allowed;
	background: #f3f3f3;
	border-color: #d6d6d6;
	pointer-events: none;
}

.irattaros-level-inaktiv .irattaros-level-desc {
	color: #777;
}

.irattaros-menu-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.irattaros-menu-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.irattaros-menu-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.irattaros-menu-kartya {
	min-height: 138px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-decoration: none !important;
	color: #222;
}

.irattaros-menu-kartya:hover {
	text-decoration: none !important;
	background: #BDE0FE;
}

.irattaros-menu-kartya .irattaros-menu-icon {
	font-size: 1.9rem;
	line-height: 1;
	margin-bottom: 9px;
}

.irattaros-menu-kartya .irattaros-menu-title {
	display: block;
	font-weight: 800;
	font-size: 1.05rem;
	margin-bottom: 5px;
}

.irattaros-menu-kartya .irattaros-menu-desc {
	display: block;
	color: #586776;
	font-size: 0.9rem;
	line-height: 1.4;
}

.irattaros-no-client {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 700px;
}

@media (max-width: 900px) {
	.irattaros-switch-grid,
	.irattaros-level-grid,
	.irattaros-menu-grid-4,
	.irattaros-menu-grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.irattaros-page-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.irattaros-kezeltszervezet {
		text-align: left;
	}
}

@media (max-width: 650px) {
	.irattaros-switch-grid,
	.irattaros-level-grid,
	.irattaros-menu-grid-4,
	.irattaros-menu-grid-3,
	.irattaros-menu-grid-2 {
		grid-template-columns: 1fr;
	}
}

.kolcsonzes-list-toolbar-centered-header { margin: 24px 0 8px; text-align: center; }
.kolcsonzes-list-toolbar-centered-header h2 { margin: 0; }
.kolcsonzes-list-toolbar { display:flex; flex-direction:column; align-items:center; gap:8px; margin:0 0 18px; padding:14px 16px; background:#eef4f8; border:1px solid #d8e4ec; border-radius:10px; }
.kolcsonzes-muvelet-bar { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; width:100%; }
.kolcsonzes-muvelet-bar .btn { min-width:170px; min-height:40px; display:inline-flex; align-items:center; justify-content:center; text-align:center; }
.kijeloles-info { min-height:20px; color:#5c6b78; font-size:.9rem; text-align:center; }
.kijeloles-oszlop { width:92px; min-width:92px; max-width:92px; }
.checkbox-cell-label { display:flex; justify-content:center; align-items:center; cursor:pointer; }
.checkbox-cell-label input { width:18px; height:18px; margin:0; cursor:pointer; }
.kijeloles-fejlec { cursor:pointer; user-select:none; text-align:center !important; white-space:normal; line-height:1.15; padding-left:6px !important; padding-right:6px !important; }
.kijeloles-fejlec:hover { text-decoration:underline; }
.visszatarolas-modal-card { width:min(560px,100%); text-align:center; }
.visszatarolas-modal-card #visszatarolasModalSzoveg { margin:0 0 18px; }
.visszatarolas-mezo { display:flex; flex-direction:column; align-items:center; margin-bottom:14px; }
.visszatarolas-mezo label { margin-bottom:6px; font-weight:600; }
.visszatarolas-mezo input:not([type=checkbox]), .visszatarolas-mezo textarea { width:min(100%,480px); box-sizing:border-box; text-align:center; }
.visszatarolas-adatlap-checkbox { display:flex; width:100%; justify-content:center; align-items:center; gap:4px; margin:4px auto 0; white-space:nowrap; text-align:center; }
.visszatarolas-adatlap-checkbox input { margin:0; flex:0 0 auto; }
.visszatarolas-adatlap-checkbox span { white-space:nowrap; }
.visszatarolas-modal-card .kolcsonzo-modal-footer { justify-content:center; }
.kolcsonzes-reszletek-card { width:min(650px,100%); max-height:85vh; overflow:auto; }
.kolcsonzes-tabla th:first-child, .kolcsonzes-tabla td:first-child { width:82px; min-width:82px; max-width:82px; }
.kolcsonzes-tabla th:nth-child(7), .kolcsonzes-tabla td:nth-child(7) { width:115px; min-width:115px; }
/* =========================================================
   Kölcsönzések kezelése – egységes admin felület
   ========================================================= */

.kolcsonzes-oldal {
	max-width: 1220px;
	margin: 0 auto;
}

.kolcsonzes-page-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.kolcsonzes-page-title h1 {
	margin: 0;
}

.kolcsonzes-szures {
	display: flex;
	align-items: flex-end;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 0 0 24px;
	padding: 14px 16px;
	background: #eef4f8;
	border: 1px solid #d8e4ec;
	border-radius: 10px;
	box-sizing: border-box;
}

.kolcsonzes-szures-mezo {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.kolcsonzes-szures-mezo label {
	font-size: .85rem;
	font-weight: 700;
	color: #4c5d6d;
	white-space: nowrap;
}

.kolcsonzes-szures-keres {
	flex: 0 1 285px;
	min-width: 210px;
}

.kolcsonzes-szures-tipus {
	flex: 0 0 135px;
	width: 135px;
}

.kolcsonzes-szures-mezo input[type="text"],
.kolcsonzes-szures-mezo select {
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	min-height: 40px;
}

.kolcsonzes-szures-jelolo {
	display: inline-flex;
	align-items: center;
	align-self: center;
	gap: 6px;
	margin-top: 23px;
	font-weight: 400;
	white-space: nowrap;
}

.kolcsonzes-szures-jelolo input {
	margin: 0;
}

.kolcsonzes-szures .btn,
.kolcsonzes-szures button {
	box-sizing: border-box;
	height: 40px;
	min-height: 40px;
	margin: 0 !important;
	white-space: nowrap;
}

.kolcsonzes-szures-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 23px;
	flex: 0 0 auto;
}

.kolcsonzes-szures-actions .btn,
.kolcsonzes-szures-actions button {
	min-width: 88px;
	padding-left: 12px;
	padding-right: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.kolcsonzo-link {
	border: 0;
	background: none;
	padding: 0;
	margin: 0;
	color: #1f5f8b;
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
}

.kolcsonzo-link:hover {
	text-decoration: none;
}

.kolcsonzo-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0,0,0,.45);
}

.kolcsonzo-modal.is-open { display: flex; }

.kolcsonzo-modal-card {
	width: min(480px, 100%);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 15px 50px rgba(0,0,0,.25);
	padding: 22px;
}

.kolcsonzo-modal-header {
	display: block;
	text-align: center;
	margin-bottom: 16px;
}

.kolcsonzo-modal-header h3 { margin: 0; text-align: center; }

.kolcsonzo-modal-footer {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.kolcsonzo-modal-footer button {
	min-width: 100px;
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
}
.kolcsonzo-adatok { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 9px 14px; }
.kolcsonzo-adatok dt { font-weight: 700; color: #4c5d6d; }
.kolcsonzo-adatok dd { margin: 0; word-break: break-word; }


.kolcsonzes-tabla-wrap {
	width: 100%;
	overflow-x: auto;
}

.kolcsonzes-tabla-wrap > table {
	min-width: 1080px;
	width: 100%;
}

.kolcsonzes-tabla th,
.kolcsonzes-tabla td {
	text-align: center;
	vertical-align: middle;
}

.kolcsonzes-tabla th a {
	color: inherit;
	text-decoration: none;
	display: inline-block;
}

.kolcsonzes-tabla th a:hover {
	text-decoration: underline;
}

.kolcsonzes-tabla .actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.kolcsonzes-tabla .actions form {
	margin: 0;
	width: 100%;
	display: flex;
	justify-content: center;
}

.kolcsonzes-tabla .actions .btn {
	width: 170px;
	box-sizing: border-box;
}

@media (max-width: 900px) {
	.kolcsonzes-page-title {
		align-items: flex-start;
		flex-direction: column;
	}

	.kolcsonzes-szures {
		align-items: stretch;
		flex-wrap: wrap;
	}

	.kolcsonzes-szures-keres,
	.kolcsonzes-szures-tipus {
		flex: 1 1 220px;
		min-width: 0;
		width: auto;
	}

	.kolcsonzes-szures-jelolo,
	.kolcsonzes-szures-actions {
		margin-top: 0;
	}
}

/* =========================================================
   Statisztikák megtekintése oldal
   ========================================================= */

.admin-stats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 20px;
}

.admin-stat-card {
	width: 100%;
	background: #fff;
	border: 1px solid #d2e0eb;
	border-radius: 10px;
	padding: 18px 16px;
	box-sizing: border-box;
	text-align: center;
	transition: opacity .15s ease, background .15s ease,
				border-color .15s ease, box-shadow .15s ease,
				transform .15s ease;
}

.admin-stat-card h3 {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
}

.admin-stat-number {
	font-size: 1.8rem;
	line-height: 1.1;
	font-weight: 800;
}

.stat-szint-kartya {
	border: 1px solid #d2e0eb;
	color: #222;
	cursor: pointer;
	font: inherit;
	margin-top: 0;
	min-height: 116px;
	appearance: none;
	-webkit-appearance: none;
	text-align: center;
}

.stat-szint-kartya:hover {
	border-color: #337ab7;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
}

.stat-szint-kartya.stat-szint-kivalasztott {
	background: #e8f0f7;
	border-color: #337ab7;
	box-shadow: 0 0 0 2px rgba(51, 122, 183, .12);
}

.stat-szint-kartya.stat-szint-inaktiv {
	opacity: .38;
	cursor: not-allowed;
	background: #f3f3f3;
	border-color: #d6d6d6;
}

.stat-szint-kartya.stat-szint-inaktiv:hover {
	border-color: #d6d6d6;
	box-shadow: none;
}

.stat-szint-kartya:focus-visible {
	outline: 3px solid rgba(51, 122, 183, .25);
	outline-offset: 2px;
}

.admin-stat-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.admin-section {
	background: #eef4f8;
	border: 1px solid #d8e4ec;
	border-radius: 12px;
	padding: 18px;
	margin-bottom: 20px;
	box-sizing: border-box;
}

.admin-section > h2 {
	margin: 0 0 14px;
	text-align: center;
}

.admin-menu-card {
	background: #fff;
	border: 1px solid #d2e0eb;
	border-radius: 10px;
	padding: 16px;
	box-sizing: border-box;
}

.admin-menu-card > h2 {
	margin-top: 0;
	text-align: center;
}

.admin-stats-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.admin-stats-table {
	width: 100%;
	min-width: 420px;
	border-collapse: collapse;
}

.admin-stats-table th,
.admin-stats-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #dfe7ed;
}

.admin-stats-table th {
	text-align: center;
}

.admin-stats-table td {
	text-align: center;
}

.admin-stats-table td:first-child {
	text-align: left;
}

.admin-stats-table tr:last-child td {
	border-bottom: 0;
}

.admin-stats-empty {
	color: #666;
}

.stat-szint-tartalom {
	display: none;
}

.stat-szint-tartalom.aktiv {
	display: block;
}

@media (max-width: 900px) {
	.admin-stat-detail-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.admin-stats-grid {
		grid-template-columns: 1fr;
	}

	.admin-section {
		padding: 14px;
	}

	.admin-stats-table {
		min-width: 360px;
	}
}

/* =========================================================
   Admin felhasználók oldal
   ========================================================= */
   
.admin-user-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.admin-user-table {
	width: 100%;
	min-width: 1120px;
}

.admin-user-table .admin-actions-cell {
	white-space: normal;
}

.admin-user-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.admin-user-actions .btn {
	margin: 0;
	white-space: nowrap;
}

.admin-user-table td,
.admin-user-table th {
	vertical-align: middle;
}

@media (max-width: 900px) {
	.admin-user-table-wrap {
		margin-left: 0;
		margin-right: 0;
	}
}

/* --------------------------------------------
   IRATTÁRI TERV
   -------------------------------------------- */

.irattari-terv-oldal {
	max-width: 1220px;
	margin: 0 auto;
}

.irattari-terv-page-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.irattari-terv-page-title-row h1 {
	margin: 0;
}

.irattari-terv-kezeltszervezet {
	margin: 5px 0 0;
	color: #4e5d6c;
	font-size: .95rem;
}

.irattari-terv-list-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.irattari-terv-search-form {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	gap: 10px;
	margin: 0;
}

.irattari-terv-search-form input[type="text"] {
	width: 100%;
	max-width: 520px;
	box-sizing: border-box;
}

.irattari-terv-add-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
	color: #337ab7;
	text-decoration: none !important;
	font-weight: 700;
}

.irattari-terv-add-link:hover,
.irattari-terv-add-link:focus {
	text-decoration: none !important;
}

.irattari-terv-add-icon {
	font-size: 1.45rem;
	line-height: 1;
	font-weight: 900;
}

.irattari-terv-form-card {
	margin-bottom: 24px;
}

.irattari-terv-form-card h2 {
	margin-top: 0;
}

/*
 * Első sor:
 *   Tételszám | Tétel megnevezése
 *
 * Második sor:
 *   Őrzési idő | Érvényes ettől | Érvényes eddig
 */
.irattari-terv-form-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 16px 20px;
}

/* Tételszám és megnevezés: fél-fél sor */
.irattari-terv-form-grid > div:nth-child(1) {
	grid-column: span 3;
}

.irattari-terv-form-grid > div:nth-child(2) {
	grid-column: span 3;
}

/* Őrzési idő + két dátum: egy sorban */
.irattari-terv-form-grid > div:nth-child(3),
.irattari-terv-form-grid > div:nth-child(4),
.irattari-terv-form-grid > div:nth-child(5) {
	grid-column: span 2;
}

/* Segédszöveg */
.irattari-terv-form-grid small {
	display: block;
	margin-top: 4px;
	color: #666;
	font-size: .85em;
}

.irattari-terv-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.irattari-terv-form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.irattari-terv-form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.irattari-nem-selejtezheto {
    background: #eeeeee !important;
    color: #666666;
    cursor: not-allowed;
}

@media (max-width: 1000px) {
    .irattari-terv-form-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .irattari-terv-form-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1000px) {
    .irattari-terv-form-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .irattari-terv-form-grid-2,
    .irattari-terv-form-grid-4 {
        grid-template-columns: 1fr;
    }
}
/* Műveleti gombok középre */
.irattari-terv-form-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}

.irattari-terv-form-actions .btn,
.irattari-terv-form-actions button {
	margin: 0;
}

/* Lista */
.irattari-terv-table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid #d2e0eb;
	border-radius: 10px;
	background: #fff;
}

.irattari-terv-table {
	width: 100%;
	min-width: 1050px;
	border-collapse: collapse;
}

.irattari-terv-table th,
.irattari-terv-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #dfe7ed;
	vertical-align: middle;
	text-align: center;
}

.irattari-terv-table th {
	background: #e8f0f7;
	color: #23384d;
	font-weight: 700;
	text-align: center;
	white-space: nowrap;
}

.irattari-terv-table tbody tr:last-child td {
	border-bottom: none;
}

.irattari-terv-table .sort-link {
	color: #23384d !important;
	text-decoration: none !important;
}

.irattari-terv-table .sort-link:hover,
.irattari-terv-table .sort-link:focus,
.irattari-terv-table .sort-link:active {
	color: #23384d !important;
	text-decoration: none !important;
}

.irattari-terv-table .sort-jel {
	margin-left: 4px;
	font-weight: 900;
}

.irattari-terv-statusz {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 88px;
	padding: 5px 8px;
	border-radius: 999px;
	font-size: .83rem;
	font-weight: 700;
	white-space: nowrap;
}

.irattari-terv-statusz.aktiv {
	background: #e7f4e8;
	color: #2d6a32;
}

.irattari-terv-statusz.inaktiv {
	background: #fde8e8;
	color: #666;
}

.irattari-terv-muveletek {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.irattari-terv-muveletek > .btn,
.irattari-terv-muveletek > form {
	width: 90px;
	min-width: 90px;
	height: 36px;
	min-height: 36px;
	margin: 0 !important;
	box-sizing: border-box;
}

.irattari-terv-muveletek > form {
	display: block;
}

.irattari-terv-muveletek > .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	padding: 0 10px;
}

.irattari-terv-muveletek button {
	width: 100%;
	min-width: 0;
	height: 36px;
	min-height: 36px;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	white-space: nowrap;
}

.irattari-terv-ures {
	padding: 28px 20px !important;
	text-align: center;
	color: #666;
}

/* --------------------------------------------
   RESZPONZÍV
   -------------------------------------------- */

@media (max-width: 900px) {
	.irattari-terv-page-title-row,
	.irattari-terv-list-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.irattari-terv-search-form {
		width: 100%;
	}

	.irattari-terv-search-form input[type="text"] {
		max-width: none;
	}

	.irattari-terv-form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.irattari-terv-form-grid > div:nth-child(1),
	.irattari-terv-form-grid > div:nth-child(2),
	.irattari-terv-form-grid > div:nth-child(3),
	.irattari-terv-form-grid > div:nth-child(4),
	.irattari-terv-form-grid > div:nth-child(5) {
		grid-column: span 1;
	}
}

@media (max-width: 700px) {
	.irattari-terv-form-grid {
		grid-template-columns: 1fr;
	}

	.irattari-terv-form-grid > div:nth-child(1),
	.irattari-terv-form-grid > div:nth-child(2),
	.irattari-terv-form-grid > div:nth-child(3),
	.irattari-terv-form-grid > div:nth-child(4),
	.irattari-terv-form-grid > div:nth-child(5) {
		grid-column: auto;
	}
}

/* --------------------------------------------
   SAJÁT ADATOK
   -------------------------------------------- */

.sajat-profil-oldal {
	max-width: 1220px;
	margin: 0 auto;
}

.profil-page-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.profil-page-title h1 {
	margin: 0;
}

/* Középre igazított műveleti gombok */
.sajat-profil-form-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}

.sajat-profil-form-actions button {
	margin: 0;
}

/* Jelszó mezők egy sorban */
.sajat-profil-jelszo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 20px;
}

.sajat-profil-jelszo-grid small {
	display: block;
	margin-top: 4px;
	color: #666;
	font-size: .85em;
}

/* --------------------------------------------
   RESZPONZÍV
   -------------------------------------------- */

@media (max-width: 900px) {
	.profil-page-title {
		align-items: flex-start;
		flex-direction: column;
	}

	.sajat-profil-jelszo-grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------
   HAVI STATISZTIKA
   -------------------------------------------- */

.havi-statisztika-oldal {
	max-width: 1220px;
	margin: 0 auto;
}

.havi-statisztika-page-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.havi-statisztika-page-title-row h1 {
	margin: 0;
}

/* --------------------------------------------
   IDŐSZAK SZŰRŐ
   -------------------------------------------- */

.havi-statisztika-filter-card {
	margin-bottom: 24px;
	padding: 20px;
	border: 1px solid #d2e0eb;
	border-radius: 10px;
	background: #fff;
	box-sizing: border-box;
}

.havi-statisztika-filter-grid {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	align-items: end;
	gap: 16px 20px;
}

.havi-statisztika-filter-grid input,
.havi-statisztika-filter-grid select {
	width: 100%;
	box-sizing: border-box;
}

.havi-statisztika-filter-action {
	display: flex;
	align-items: flex-end;
}

.havi-statisztika-filter-action button {
	margin: 0;
	white-space: nowrap;
}

/* --------------------------------------------
   SZEKCIÓ CÍMEK
   -------------------------------------------- */

.havi-statisztika-section-title {
	margin: 24px 0 16px;
}

.havi-statisztika-section-title-spaced {
	margin-top: 40px;
}

/* --------------------------------------------
   TÁBLÁZATOK
   -------------------------------------------- */

.havi-statisztika-table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid #d2e0eb;
	border-radius: 10px;
	background: #fff;
}

.havi-statisztika-table {
	width: 100%;
	min-width: 650px;
	border-collapse: collapse;
}

.havi-statisztika-table th,
.havi-statisztika-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #dfe7ed;
	vertical-align: middle;
	text-align: center;
}

.havi-statisztika-table th {
	background: #e8f0f7;
	color: #23384d;
	font-weight: 700;
	white-space: nowrap;
}

.havi-statisztika-table tbody tr:last-child td {
	border-bottom: none;
}

.havi-statisztika-table td:first-child {
	text-align: left;
}

.havi-statisztika-osszesen {
	background: #f5f8fb;
}

.havi-statisztika-ures {
	padding: 28px 20px !important;
	text-align: center !important;
	color: #666;
}

/* --------------------------------------------
   ÖSSZECSUKHATÓ STATISZTIKA PANELEK
   -------------------------------------------- */

.havi-statisztika-panel {
	margin-top: 18px;
	border: 1px solid #d2e0eb;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.havi-statisztika-panel summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding: 14px 18px;
	background: #e8f0f7;
	color: #23384d;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.havi-statisztika-panel summary::-webkit-details-marker {
	display: none;
}

.havi-statisztika-panel summary:hover {
	background: #dfeaf3;
}

.havi-statisztika-panel summary:focus-visible {
	outline: 2px solid #337ab7;
	outline-offset: -2px;
}

.havi-statisztika-panel-arrow {
	font-size: 1.2rem;
	line-height: 1;
	transition: transform .15s ease;
}

.havi-statisztika-panel[open] .havi-statisztika-panel-arrow {
	transform: rotate(180deg);
}

.havi-statisztika-panel-content {
	padding: 16px;
}

.havi-statisztika-panel-content .havi-statisztika-table-wrap {
	margin: 0;
}

/* --------------------------------------------
   RESZPONZÍV
   -------------------------------------------- */

@media (max-width: 900px) {
	.havi-statisztika-page-title-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.havi-statisztika-filter-grid {
		grid-template-columns: 1fr 1fr;
	}

	.havi-statisztika-filter-action {
		grid-column: 1 / -1;
	}

	.havi-statisztika-filter-action button {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.havi-statisztika-filter-grid {
		grid-template-columns: 1fr;
	}

	.havi-statisztika-filter-action {
		grid-column: auto;
	}
}


/* --------------------------------------------
   CSV IMPORT GOMBOK
   -------------------------------------------- */

.import-form-kozepre {
	text-align: center;
}

.import-form-kozepre .form-grid {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;	
}

.import-gombok {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 24px;
	margin-top: 20px;
}

.import-gombok .btn,
.import-gombok button {
	margin-top: 0;
	box-sizing: border-box;
	line-height: normal;
}

/* --------------------------------------------
   IRATTÁRI NAPLÓ
   -------------------------------------------- */
.irattari-naplo-oldal {
	max-width: 1220px;
}

.irattari-naplo-cim-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 24px 0 20px;
}

.irattari-naplo-cim-row h1 {
	margin: 0;
}

.irattari-naplo-vissza {
	flex: 0 0 auto;
	white-space: nowrap;
}

.irattari-naplo-szervezet {
	margin: 5px 0 0;
	color: #4e5d6c;
	font-size: .95rem;
}

.irattari-naplo-szures {
	margin-bottom: 24px;
}

.irattari-naplo-filter-grid {
	display: grid;
	grid-template-columns:
		minmax(190px, 1.45fr)
		minmax(130px, .9fr)
		minmax(130px, .9fr)
		minmax(95px, .65fr)
		minmax(95px, .65fr)
		minmax(125px, .8fr);
	grid-template-areas:
		"tipus objektum azonosito datum_tol datum_ig felhasznalo"
		"leiras leiras leiras leiras leiras leiras"
		"actions actions actions actions actions actions";
	gap: 12px;
	align-items: end;
}

.irattari-naplo-filter-grid > div:nth-child(1) { grid-area: tipus; }
.irattari-naplo-filter-grid > div:nth-child(2) { grid-area: objektum; }
.irattari-naplo-filter-grid > div:nth-child(3) { grid-area: azonosito; }
.irattari-naplo-filter-grid > div:nth-child(4) { grid-area: leiras; }
.irattari-naplo-filter-grid > div:nth-child(5) { grid-area: datum_tol; }
.irattari-naplo-filter-grid > div:nth-child(6) { grid-area: datum_ig; }
.irattari-naplo-filter-grid > div:nth-child(7) { grid-area: felhasznalo; }
.irattari-naplo-filter-grid > div:nth-child(8) { grid-area: actions; }

.irattari-naplo-filter-leiras {
	min-width: 0;
}

.irattari-naplo-filter-grid label {
	margin-top: 0;
	font-size: .9rem;
}

.irattari-naplo-filter-grid input,
.irattari-naplo-filter-grid select {
	margin-top: 5px;
}

.irattari-naplo-filter-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
}

.irattari-naplo-filter-actions .btn,
.irattari-naplo-filter-actions button {
	box-sizing: border-box;
	height: 40px;
	min-height: 40px;
	margin: 0 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
}

.irattari-naplo-list-heading {
	margin-bottom: 14px;
}

.irattari-naplo-list-heading h2 {
	margin: 0;
	text-align: center;
}

.irattari-naplo-list-summary {
	margin: 6px 0 0;
	text-align: center;
	color: #667584;
}

.irattari-naplo-table-wrap {
	width: 100%;
	overflow-x: auto;
	background: #fff;
	border: 1px solid #d2e0eb;
	border-radius: 10px;
}

.irattari-naplo-table {
	width: 100%;
	min-width: 1100px;
	border-collapse: collapse;
}

.irattari-naplo-table th,
.irattari-naplo-table td {
	padding: 10px 11px;
	border-bottom: 1px solid #dfe7ed;
	vertical-align: middle;
	text-align: center;
}

.irattari-naplo-table th {
	background: #e8f0f7;
	color: #23384d;
	font-weight: 700;
	white-space: nowrap;
}

.irattari-naplo-table tbody tr:last-child td {
	border-bottom: none;
}

.irattari-naplo-table .sort-link {
	color: #23384d !important;
	text-decoration: none !important;
	font-weight: 700;
}

.irattari-naplo-table .sort-link:hover,
.irattari-naplo-table .sort-link:focus,
.irattari-naplo-table .sort-link:active {
	color: #23384d !important;
	text-decoration: none !important;
}

.irattari-naplo-table .sort-jel {
	margin-left: 4px;
	font-weight: 900;
}

.irattari-naplo-pagination {
	margin-top: 20px;
	text-align: center;
}

.irattari-naplo-pagination a,
.irattari-naplo-pagination strong,
.irattari-naplo-pagination span {
	display: inline-block;
	padding: 6px 11px;
	margin: 0 2px;
	border: 1px solid #d6e0e8;
	border-radius: 5px;
	text-decoration: none;
}

.irattari-naplo-pagination a {
	color: #337ab7;
}

.irattari-naplo-pagination a:hover {
	background: #f1f5f8;
}

.irattari-naplo-pagination strong {
	background: #337ab7;
	color: #fff;
	border-color: #337ab7;
}

.irattari-naplo-pagination .dots {
	border-color: transparent;
}

@media (max-width: 1080px) {
	.irattari-naplo-filter-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-template-areas:
			"tipus objektum azonosito"
			"datum_tol datum_ig felhasznalo"
			"leiras leiras leiras"
			"actions actions actions";
	}
}

@media (max-width: 760px) {
	.irattari-naplo-cim-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.irattari-naplo-filter-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"tipus"
			"objektum"
			"azonosito"
			"leiras"
			"datum_tol"
			"datum_ig"
			"felhasznalo"
			"actions";
	}

	 .irattari-naplo-filter-actions {
		justify-content: center;
	}
}

/* ============================================================
   IRATTÁRI TERV ŰRLAP
   ============================================================ */

.irattari-terv-list-heading {
	margin-bottom: 14px;
}

.irattari-terv-list-heading h2 {
	margin: 0;
	text-align: center;
}

.irattari-terv-list-summary {
	margin: 6px 0 0;
	text-align: center;
	color: #667584;
}

.irattari-terv-form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.irattari-terv-form-row-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.irattari-terv-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.irattari-nem-selejtezheto {
    background: #eeeeee !important;
    color: #666666 !important;
    cursor: not-allowed;
}

@media (max-width: 1000px) {

    .irattari-terv-form-row-4,
    .irattari-terv-form-row-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {

    .irattari-terv-form-row-2,
    .irattari-terv-form-row-3,
    .irattari-terv-form-row-4 {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   LOGIN OLDAL LÁBLÉC
===================================================== */

body.login-page .site-footer {
    display: block;
    width: 100%;
    margin-top: 25px;
    padding: 15px 20px;
    flex-shrink: 0;
}

body.login-page .site-footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #ffffff;
}

body.login-page .site-footer a {
    color: #ffffff;
    text-decoration: none;
}

body.login-page .site-footer a:hover {
    text-decoration: underline;
}
