body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
}

#naslovna {
    height: 130px;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px;
    background-color: #f1f1f1;
}

#naslovna img {
    margin-right: -30px;
}

.podatki {
    float: right;
    padding: 30px 40px 15px;
    font-size: 11px;
    text-align: right;
}

.podatki a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
}

.podatki a:hover {
    text-decoration: underline;
}

#copyright {
    text-align: center;
    color: #999;
    font-size: 10px;
}

#copyright a {
    color: #999;
}

h1 {
    font-family: Arial, sans-serif;
    font-size: 24px;
    color: #1A73B3;
    margin: 20px 0;
    padding: 10px;
    background-color: #f2f2f2;
    border-left: 5px solid #1A73B3;
}

h2 {
    font-family: Open Sans, sans-serif, Arial;
    font-size: 15px;
    color: #1A73B3;
    margin: 0px;
    padding: 0px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    padding-bottom: 5px;
    margin-block-end: 1em;
    margin-inline-start: 1em;
    margin-inline-end: 1em;
    font-weight: bold;
}

h4 {
    font-size: small;
    font-weight: 200;
    padding-bottom: 30px;
}

h5 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

form {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
}

form .form-group {
    margin-bottom: 15px;
}

form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form .form-group input,
form .form-group select,
form .form-group textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form .form-group button {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form .form-group button:hover {
    background-color: #0056b3;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th,
table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
	font-size: 12px;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
	font-size: 12px;
}

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

tr:nth-child(odd) {
    background-color: #fff;
}

tr:hover {
    background-color: #f1f1f1;
}

.success {
    background-color: #E8FFE8;
    color: #008000;
    font-weight: bold;
}

.error {
    background-color: #FFEFEF;
    color: #ee0000;
    font-weight: bold;
}

.opozorilo {
    background-color: #FFF8E5;
    color: #FFA500;
    font-weight: bold;
}

#error {
    margin: 10px 10px;
    padding: 5px;
    border: 1px solid #ee0000;
    background-color: #FFEFEF;
    color: #ee0000;
    font-weight: bold;
    margin-bottom: 25px;
}

#success {
    margin: 5px 10px;
    padding: 5px;
    border: 1px solid #008000;
    background-color: #E8FFE8;
    color: #008000;
    font-weight: bold;
    margin-bottom: 25px;
}

#opozorilo {
    margin: 5px 10px;
    padding: 5px;
    border: 1px solid #f45c08;
    background-color: #fce4cd;
    color: #f45c08;
    font-weight: bold;
    margin-bottom: 25px;
}

/* Dodatne optimizacije iz index.php */
.unread-documents,
.no-unread-documents,
.error-fetching-documents {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.user-list {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.user-item {
    margin: 5px 0;
    font-size: 14px;
}

.btn-reminder {
    padding: 5px 10px;
    font-size: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-reminder-warning {
    padding: 5px 10px;
    font-size: 12px;
    background-color: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 4px;
}

.btn-reminder-disabled {
    padding: 5px 10px;
    font-size: 12px;
    background-color: #ccc;
    color: #666;
    border: none;
    border-radius: 4px;
    cursor: not-allowed;
}

.flight-data {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.flight-data th,
.flight-data td {
    padding: 10px;
    border: 1px solid #ddd;
	font-size: 12px;
}

.flight-data th {
    background-color: #f2f2f2;
}

.levozgoraj {
    min-height: 67px;
    width: 46%;
    padding: 20px;
    background-color: #eee;
    float: left;
    margin-bottom: 15px;
}

.desno {
    min-height: 300px;
    width: 46%;
    padding: 20px;
    background-color: #eee;
    float: right;
}

.desno table {
    border: 1px solid #fff;
    width: 100%;
    font-size: 12px;
    font-weight: bold;
    border-collapse: collapse;
}

.desno table tr {
    height: 30px;
}

.desno table tr td {
    text-align: center;
    border: 1px solid #ddd;
}

.desno table tr td:nth-child(2) {
    background-color: #bc82d4;
    color: #fff;
}

.desno table tr td:nth-child(3) {
    background-color: #dbac53;
    color: #fff;
}

.desno table tr td:nth-child(4),
.desno table tr td:nth-child(5) {
    background-color: #5894dc;
    color: #fff;
}

.desno table tr td a {
    color: black;
    text-decoration: none;
}

.desno table tr td a:hover {
    text-decoration: underline;
}

.desno .button {
    padding: 3px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.desno .button:hover {
    background-color: #0056b3;
}

.levospodaj {
    min-height: 300px;
    width: 46%;
    padding: 20px;
    background-color: #eee;
    margin-top: 10px;
    clear: left;
}

.levosrednji {
    min-height: 300px;
    width: 46%;
    padding: 20px;
    background-color: #eee;
    margin-top: 10px;
    clear: left;
}

.levospodaj .levosrednji h2 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}

.levospodaj .levosrednji table {
    width: 100%;
    border-collapse: collapse;
}

.levospodaj .levosrednji table thead th {
    text-align: left;
    padding: 8px;
    border: 1px solid #ddd;
    background-color: #f2f2f2;
	font-size:10px;
}

.levospodaj .levosrednji table tbody td {
    text-align: left;
    padding: 8px;
    border: 1px solid #ddd;
	font-size:12px;
}

/* Osnovni stil za meni */
nav {
	background: #ddd;
	position: absolute;
	width: 97%;
	z-index: 999;
	height: 65px;
	line-height: 35px;
	top: 175px;
}

nav .wrapper {
	position: relative;
	max-width: 1100px;
	padding: 0 30px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.wrapper .logo a {
	color: #f2f2f2;
	text-decoration: none;
	font-size: 27px;
	font-weight: 600;
}

.wrapper .nav-links {
	display: inline-flex;
}

.nav-links li {
	list-style: none;
}

.nav-links li a {
	color: black;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	padding: 21px 15px;
	border-radius: 0px;
	transition: all 0.3s ease;
}

.nav-links li a:hover {
	background: #fff;
}

.nav-links .drop-menu,
.nav-links .drop-menu-1 {
	background: #ddd;
	width: 180px;
	top: 85px;
	line-height: 45px;
	position: absolute;
	opacity: 0;
	visibility: hidden;
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .drop-menu-1,
.nav-links li:hover .mega-box,
.nav-links li:hover .mega-box-1,
.nav-links li:hover .mega-box-2,
.nav-links li:hover .mega-box-3,
.nav-links li:hover .mega-box-4 {
	top: 65px;
	opacity: 1;
	visibility: visible;
	transition: all 0.3s ease;
}

.drop-menu li a,
.drop-menu-1 li a {
	width: 100%;
	display: block;
	padding: 0 0 0 15px;
	font-weight: 400;
	border-radius: 0px;
	font-size: 14px;
}

.mega-box,
.mega-box-1,
.mega-box-2,
.mega-box-3,
.mega-box-4 {
	position: absolute;
	top: 85px;
	background: #ddd;
	width: 100%;
	left: 0;
	padding: 0 30px;
	opacity: 0;
	visibility: hidden;
}

.mega-box .content-box,
.mega-box-1 .content-box,
.mega-box-2 .content-box,
.mega-box-3 .content-box,
.mega-box-4 .content-box {
	background: #ddd;
	padding: 25px 20px;
	display: flex;
	width: 100%;
	justify-content: space-between;
}

.content-box .row {
	width: calc(25% - 30px);
	line-height: 45px;
}

.content-box .row img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	
}

.content-box .row header {
	color: black;
	font-size: 15px;
	font-weight: 500;
}

.content-box .row .mega-links {
	margin-left: -40px;
	border-left: 1px solid rgba(255,255,255,0.09);
}

.content-box .row:nth-child(1),
.content-box .row:nth-child(2){
	border-left: 0px;
}

.row .mega-links li {
	padding: 0 20px;
}

.row .mega-links li a {
	padding: 0 20px;
	color: #4e4e4e;
	font-size: 14px;
	display: block;
}

.row .mega-links li a:hover {
	color: #4e4e4e;	
}

.nav-links .mobile-item {
	display: none;
}

.wrapper .btn {
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	display: none;
}

.wrapper .btn.cancel-btn {
	position: absolute;
	right: -130px;
	top: 0px;
}

@media screen and (max-width: 970px) {
	.wrapper .btn {
		display: block;
	}
	
	.wrapper .nav-links {
		position: fixed;
		height: 100vh;
		width: 100%;
		max-width: 350px;
		background: #242526;
		display: block;
		top: 0;
		left: -100%;
		overflow-y: auto;
		line-height: 30px;
		padding: 50px 10px;
		box-shadow: 0 5px 5px rgba(0,0,0,0.15);
		transition: all 0.3s ease;
	}
	
	#menu-btn:checked ~ .nav-links {
		left: 0%;
	}
	
	#menu-btn:checked ~ .btn.menu-btn {
		display: none;
	}
	
	.nav-links::-webkit-scrollbar{
		width: 0px;
	}
	
	.nav-links li {
		margin: 5px 3px;
	}
	
	.nav-links li a {
		padding: 0 10px;
		display: block;
		font-size: 14px;		
	}
	
	.nav-links .drop-menu-1,
	.nav-links .drop-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		top: 65px;
		padding-left: 20px;
		width: 100%;
		max-height: 0px;
		overflow: hidden;
		transition: all 0.3s ease;
	}
	
	#showDrop:checked ~ .drop-menu,
	#showDrop-1:checked ~ .drop-menu-1,
	#showMega:checked ~ .mega-box,
	#showMega-1:checked ~ .mega-box-1,
	#showMega-2:checked ~ .mega-box-2,
	#showMega-3:checked ~ .mega-box-3,
	#showMega-4:checked ~ .mega-box-4 {
		max-height: 100%;
		
	}
	
	.nav-links .drop-menu li {
		margin: 0;
	}

	.nav-links .drop-menu li a,
	.nav-links .drop-menu-1 li a {
		font-size: 14px;
		border-radius: 5px;
	}
	
	.nav-links .desktop-item {
		display: none;
	}
	
	.nav-links .mobile-item {
		display: block;
		font-size: 16px;
		color: #f2f2f2;
		font-weight: 500;
		padding-left: 20px;
		cursor: pointer;
		border-radius: 5px;
		transition: all 0.3s ease;
	}
	
	.nav-links .mobile-item:hover {
		background: #3a3b3c;	
	}
	
	.mega-box,
	.mega-box-1,
	.mega-box-2,
	.mega-box-3,
	.mega-box-4 {
	position: static;
	top: 65px;
	background: #242526;
	width: 100%;
	opacity: 1;
	visibility: visible;
	padding: 0 10px;
	max-height: 0px;
	overflow: hidden;
	transition: all 0.3s ease;
	}

	.mega-box .content-box,
	.mega-box-1 .content-box,
	.mega-box-2 .content-box,
	.mega-box-3 .content-box,
	.mega-box-4 .content-box {
	background: #242526;
	flex-direction: column;
	padding: 10px 10px 0 10px;
	}
	
	.mega-box .content-box .row,
	.mega-box-1 .content-box .row,
	.mega-box-2 .content-box .row,
	.mega-box-3 .content-box .row,
	.mega-box-4 .content-box .row {
		width: 100%;
		margin-bottom: 8px;
		border-top: 1px solid rgba(255,255,255,0.08);
	}
	
	.mega-box .content-box .row:nth-child(1),
	.mega-box .content-box .row:nth-child(2) {
		border-top: 0px;
	}
	
	.mega-box-1 .content-box .row:nth-child(1),
	.mega-box-1 .content-box .row:nth-child(2) {
		border-top: 0px;
	}
	
	.mega-box-2 .content-box .row:nth-child(1),
	.mega-box-2 .content-box .row:nth-child(2) {
		border-top: 0px;
	}
	
	.mega-box-3 .content-box .row:nth-child(1),
	.mega-box-3 .content-box .row:nth-child(2) {
		border-top: 0px;
	}
	
	.mega-box-4 .content-box .row:nth-child(1),
	.mega-box-4 .content-box .row:nth-child(2) {
		border-top: 0px;
	}
	
	.content-box .row .mega-links {
		border-left: 0px;
		padding-left: 15px;
	}
	
	.row .mega-links li {
		margin: 0;
	}
	
	.content-box .row header {
		font-size: 16px;
	}
}

.wrapper input {
	display: none;
}

#content {
	border: 1px solid #ccc;
	padding: 20px;
	margin: 20px 20px 20px 20px;
	background-color: #fff;
	margin-top: 140px;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 20px;
}
.form-label {
    font-weight: bold;
    margin-bottom: 5px;
}
.form-select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.btn-primary {
    background-color: #1A73B3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.styled-table th, .styled-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}
.styled-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.styled-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Odstrani pike pred zavihki */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    list-style: none; /* Odstrani privzeto označevanje */
}

/* Stil posameznega zavihka */
.nav-item {
    margin-bottom: -1px;
}

/* Stil za zavihke */
.nav-link {
    padding: 12px 20px;
    border: 1px solid #dee2e6;
    border-radius: 5px 5px 0 0;
    background-color: #f8f9fa;
    color: #007bff;
    font-weight: bold;
    text-align: center;
    display: block;
}

/* Ko je zavihek aktiven */
.nav-link.active {
    background-color: #ffffff;
    border-bottom-color: transparent;
    color: #000;
}

/* Stil za hover */
.nav-link:hover {
    background-color: #e9ecef;
    color: #0056b3;
}

/* Statusne barve */
.tab-inactive {
    background-color: #ffe6e6 !important;
    color: #cc0000 !important;
}

.tab-active {
    background-color: #e6ffe6 !important;
    color: #008000 !important;
}

.tab-warning {
    background-color: #fff3cd !important;
    color: #856404 !important;
}

/* Osnovni stil za modal (skrito na začetku) */
.modal {
    display: none;
    /* skrito dokler ne kliknemo gumba */
    position: fixed;
    /* ostane fiksiran na ekranu */
    z-index: 1000;
    /* da je nad vsemi elementi */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* če je vsebina visoka, se doda scroll */
    background-color: rgba(0, 0, 0, 0.5);
    /* zatemnitev ozadja */
}

/* Vsebina modala */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    /* centrirano vertikalno in horizontalno */
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    /* širina modala */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Gumb za zapiranje */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.suggestions-box {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    width: calc(100% - 20px); /* Da se prilagodi širini inputa */
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
    display: none; /* Skrij dokler ni podatkov */
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.suggestion-item:hover {
    background: #f0f0f0;
}

.flatpickr-input {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
    }
.flatpickr-calendar {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
	
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

/* Oblikovanje radio gumbov */
.form-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

/* Poskrbi, da so radio gumbi in besedilo poravnani v eni liniji */
.form-radio label {
    display: flex;
    align-items: center;
    gap: 5px; /* Majhen razmik med gumbom in besedilom */
    font-size: 14px;
    cursor: pointer;
}

/* Prilagoditev radijskih gumbov */
.form-radio input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
}

/* Logotip centriran */
.form-logo {
    text-align: center;
    margin-bottom: 15px;
}

.form-logo img {
    max-width: 200px; /* Prilagodi velikost logotipa */
}

/* Login Wrapper - centriran in prilagojen */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f4f4f4;
}

/* Login Container */
.login-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 350px;
}

/* Logotip */
.login-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}

/* Naslov */
.login-container h1 {
    font-size: 22px;
    margin-bottom: 20px;
}

/* Obrazec */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

/* Vnosna polja */
.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Prijavni gumb */
.login-button {
    width: 100%;
    padding: 10px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.login-button:hover {
    background: #e65c00;
}

/* Pozabljeno geslo */
.forgot-password {
    margin-top: 15px;
    font-size: 14px;
}

.forgot-password a {
    color: #777;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.document-card {
    margin-bottom: 20px;
    width: 100%;
}

.document-card h3 {
    display: inline-block;
    margin-right: 15px; /* Doda malo prostora med naslovom in gumbom */
    font-size: 1.2em;
    vertical-align: middle;
}

.download-link {
    display: inline-block;
    vertical-align: middle;
}

.download-link a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.download-link a:hover {
    background-color: #bbb;
}

.document-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px; /* Doda razmik med headerjem in tabelo */
}

.document-header h3 {
    margin: 0;
    font-size: 1.2em;
    flex-shrink: 0;
}

.document-content {
    width: 100%; /* Tabela zdaj zavzame celotno širino */
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
}

.styled-table th, .styled-table td {
    padding: 8px;
    border: 1px solid #ddd;
}

.styled-table .opozorilo {
    background-color: #fce4cd;
    color: #f45c08;
    font-weight: bold;
}

.styled-table .signed {
    background-color: #E8FFE8;
    color: #008000;
    font-weight: bold;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-picture img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ccc;
}

.profile-info p {
    margin: 5px 0;
    font-size: 16px;
}

.edit-icon {
    color: #007bff;
    text-decoration: none;
    margin-left: 5px;
}

.edit-icon:hover {
    color: #0056b3;
}

/* Oblikovanje zavihkov */
.tabs {
    margin-top: 20px;
    display: flex;
    border-bottom: 2px solid #ddd;
}

.tablink {
    flex: 1;
    padding: 10px;
    border: none;
    background: #ccc;
	color: #000;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
	border: 1px solid #bbb;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    transition: background 0.3s, color 0.3s;
}

.tablink:hover {
    background: #0073e6;
	color: #fff;
}

.tablink.active {
    background: #0073e6;
	color: #fff;
    font-weight: bold;
}

.tabcontent {
    display: none;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

/* Slog za zavihke */
.tabs-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    border-bottom: 3px solid #0073e6;
}

.tabs li {
    margin: 0;
}

.tabs li a {
    display: block;
    padding: 12px 18px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    transition: background 0.3s, color 0.3s;
}

.tabs li a:hover,
.tabs li a.active {
    background: #0073e6;
    color: #fff;
}

/* Slog za vsebino zavihkov */
.tabs-content {
    padding-top: 10px;
}

.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-top: none;
    background: #fff;
    margin-top: -1px;
}

/* Prikaz samo aktivnega zavihka */
.tab-content.active {
    display: block;
}

.buttons-container{
    margin-bottom: 20px;;
}

/* Stil za popup */
.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 1000;
    text-align: center;
}

.pregled-bookingov i {
    cursor: pointer;
}

.pregled-bookingov i:hover::after {
    content: attr(data-info);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    position: absolute;
    white-space: nowrap;
    border-radius: 3px;
}

.transfer-icon {
    position: relative;
    cursor: pointer;
    color: #979a9e;
}

.transfer-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;

    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 13px;
    z-index: 9999;
    display: none;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
} 

.transfer-icon:hover::after {
    display: block;
}

.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    display: none;
    z-index: 1000;
}

.booking-container {
    display: flex;
    gap: 2%;
    /* 2% prostor med vsemi divi */
}

.booking-left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* prostor med tremi capacity-info divi */
    width: 25;
    /* ali prilagodi po želji */
}

.booking-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* prostor med div-i */
    width: 79%;
    /* širina desne kolone */
}

 /* Kapaciteta info */
.capacity-info {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.capacity-info p {
    font-size: 16px;
    margin: 5px 0;
}

/* Seznam balonov */
.balloon-list {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.balloon-list ul {
    list-style-type: none;
    padding: 0;
}

.balloon-list li {
    font-size: 16px;
    padding: 5px;
}

/* Notes sekcija */
.notes-section {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.notes-section h3 {
    margin-top: 0;
}

.notes-section textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Seznam bookingov */
.booking-list {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

.booking-list table {
    width: 100%;
    border-collapse: collapse;
}

.booking-list th, .booking-list td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.booking-list th {
    background-color: #007bff;
    color: white;
}

.booking-list tr:nth-child(even) {
    background-color: #f9f9f9;
}

.booking-list tr:hover {
    background-color: #f1f1f1;
}

/* Ikona za toggle */
.toggle-passengers {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.passenger-info {
    background-color: #f9f9f9;
}

.passenger-info ul {
    list-style-type: none;
    padding: 10px;
}

/* Stil za modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.let-list {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
	margin-bottom: 20px;
}

.let-item {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.let-weight-summary {
    position: fixed;  /* Pripnemo vrstico na dno ekrana */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Temno ozadje */
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    display: none; /* Skrito dokler ni označen booking */
}

.let-weight-summary.exceeded {
    color: red;
}

.bg-danger {
    background-color: #dc3545;
    color: white;
    font-weight: bold;
}

.bg-orange {
    background-color: #fd7e14;
    color: white;
    font-weight: bold;
}

.bg-warning {
    background-color: #ffc107;
    color: black;
    font-weight: bold;
}

.notes-container {
    border: 1px solid #ccc;
    padding: 10px;
    width: 400px;
    font-family: Arial;
    margin-bottom: 20px;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.edit-save {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #333;
}

textarea {
    background-color: #f0f0f0;
    width: 100%;
    padding: 5px;
    resize: vertical;
}

.save-button {
    display: none;
    margin-top: 5px;
    padding: 5px 10px;
    cursor: pointer;
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Modal */
.status-modal {
    background: #fff;
    width: 650px;
    max-width: 95%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

/* Header */
.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.status-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-confirmed {
    background: green;
}

.status-canceled {
    background: red;
}

.status-pending {
    background: orange;
}

.close-btn {
    background: none;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    /* VIDNA barva */
    line-height: 1;
}

.close-btn:hover {
    color: #000;
}

/* Info box */
.status-info {
    background: #f5f5f5;
    padding: 10px 20px;
    font-size: 14px;
}

/* Content */
.status-content {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 6px;
}

/* Pickup range */
.pickup-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
.status-footer {
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    text-align: right;
}

.save-btn {
    padding: 8px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.save-btn:hover {
    background: #0056b3;
}

/* Disabled */
input:disabled,
select:disabled {
    background: #e0e0e0;
    color: #666;
}

.disabled-grey {
    background-color: #e0e0e0;
    color: #555;
    cursor: not-allowed;
}

/* isto kot status manager */
#nastavitveLetOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1050;
}

#nastavitveLetOverlay .status-modal {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Header */
#nastavitveLetModal .status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#nastavitveLetModal .status-header .close-btn {
    font-size: 1.2rem;
    border: none;
    background: transparent;
    cursor: pointer;
}

/* Footer */
#nastavitveLetModal .status-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

#nastavitveLetModal .save-btn {
    padding: 6px 20px;
    background-color: #28a745;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

/* Zatemnjeni overlay */
.overlay {
    display: none;
    /* skrito dokler ne kličeš JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: auto;
}

/* Modal */
.capacity-modal {
    background-color: #fff;
    border-radius: 8px;
    width: 400px;
    margin: 10% auto;
    /* centrirano vertikalno in horizontalno */
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-header h2 {
    margin: 0;
}

/* Close button */
.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Form groups */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

/* Footer */
.modal-footer {
    text-align: right;
}

.save-btn {
    background-color: #007bff;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.save-btn:hover {
    background-color: #0056b3;
}
