
.um{
	margin-top: 50px;
}

.um-button, .um-request-button, .um .um-profile-nav-item.active a, div.uimob800 .um-account-side li a.current{
	background-color: var(--oms-accent) !important;
}
.um-button.um-alt{
	background-color: #eee !important;
}

.um a.um-button{
	border-radius: 10px !important;
	transition: all .2s ease-in-out !important;
}

.um-button:hover, .um-request-button:hover{
	filter: brightness(0.85);
}

.um-faicon-cog {
	transition: all .2s ease-in-out !important;
}

.um-account-side li a.current span.um-account-icon, .um a.um-link, .um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
.um-profile.um .um-profile-edit-a.active, .um-profile.um .um-profile-headericon a:hover, .um .um-cover-add:hover, .um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i, .um .um-field-radio.active:not(.um-field-radio-state-disabled) i, .um .um-item-meta a, .um .um-member-less a:hover, .um .um-member-more a:hover, .um .um-member-name a:hover, .um .um-members-pagi a:hover, .um .um-profile-subnav a.active, .um .um-tip:hover, .um-account-name a:hover, .um-account-nav a.current, .um-account-side li a.current span.um-account-icon, .um-account-side li a.current:hover span.um-account-icon, .um-dropdown li a:hover, i.um-active-color, span.um-active-color{
	color: var(--oms-accent) !important;
}

.um-account-side li, .um-account-link.current{
	border-radius: 7px;
}

.um-account-link.current{
	background-color: var(--oms-accent-soft);
}

.um-cover-e img{
	border-radius: 25px !important;
}

.um-dropdown{
	box-shadow: 0 0 20px rgba(0,0,0,.15) !important;
	border-radius: 10px !important;
	overflow: hidden;
}

.um-profile-nav{
	background-color: var(--oms-accent-dark) !important;
}

.um-profile-nav, .um-profile-nav-item a{
	border-radius: 50px !important;
}

.um-2442.um .um-profile-body{
	max-width: none !important;
}

.um-profile-body .um-col-1{
	display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

.um .um-form input, .um-field .select2.select2-container .select2-selection.select2-selection--multiple, .um-field .select2.select2-container .select2-selection.select2-selection--single,
.um-field .select2-container.select2-container--open .select2-dropdown{
	border-radius: 10px !important;
}

.logo-holder{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.logo-holder a, .logo-holder span{
	background-color: white;
	padding: 10px;
	border-radius: 7px;
	border-bottom: solid 3px #c7c6c6;
	transition: .2s ease-in-out;
}

.logo-holder a:hover{
	filter: brightness(0.85);
}

.logo-holder img{
	height: 30px;
}

.um-account-side li a{
	border-radius: 7px;
}
.um-account-side li a.current:hover{
	background-color: var(--oms-accent-soft) !important;
}

.woocommerce-order .order-again {
    display: none !important;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
	background-color: var(--oms-accent) !important;
	color: white !important;
}

.woocommerce-Price-currencySymbol{
	position: relative;	
}

.oms-join-box {
	margin: 24px 0;
}

.oms-join-box p {
	margin: 0 0 18px !important;
}

.oms-join-box .oms-join-button,
.oms-join-box a.oms-join-button,
.entry-content .oms-join-box a.oms-join-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-width: 154px !important;
	min-height: 48px !important;
	padding: 14px 28px !important;
	background: var(--oms-accent, #f47645) !important;
	border: 1px solid var(--oms-accent, #f47645) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: #ffffff !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-indent: 0 !important;
	text-transform: none !important;
	opacity: 1 !important;
	overflow: visible !important;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease !important;
	white-space: nowrap !important;
}

.oms-join-box .oms-join-button:hover,
.oms-join-box .oms-join-button:focus {
	background: var(--oms-accent-dark, #e96435) !important;
	border-color: var(--oms-accent-dark, #e96435) !important;
	color: #ffffff !important;
	text-decoration: none !important;
	transform: translateY(-1px);
}

.oms-join-box .oms-join-button:focus-visible {
	outline: 3px solid rgba(var(--oms-accent-rgb, 244, 118, 69), .28) !important;
	outline-offset: 3px !important;
}

.oms-join-box-active {
	color: inherit;
}

.woocommerce-Price-currencySymbol::before{
	content: "RSD";
	width: 101%;
	display: block;
	background-color: white;
	position: absolute;
	top: 0;
	left: 0;
	color: black;
}

.product-quantity{
	display: none;
}

.um-profile-edit{
	z-index: 10 !important;
}

/* REGISTER STRANICA */

.um-row-heading{
	font-size: 24px !important;
}

.custom-reg-form{
	background-color: white !important;
	box-shadow: 0px 20px 60px rgba(0,0,0,0.1) !important;
	border-bottom-left-radius: 15px !important;
	border-bottom-right-radius: 15px !important;
	padding: 20px !important;
	padding-top: 15px !important;
}

.custom-reg-form input, .um-field .select2.select2-container span.select2-selection{
	background-color: #F1F1F2 !important;
}

/* UPRAVLJANJE STRANICA */

.uehs-admin-wrap {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: #f9f9f9;
	padding: 20px;
	border-radius: 12px;
	margin: 20px 0;
}
.uehs-admin-header {
	background: linear-gradient(135deg, var(--oms-accent) 0%, var(--oms-accent-dark) 100%);
	color: white;
	padding: 24px;
	border-radius: 12px 12px 0 0;
	margin: -20px -20px 20px -20px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.uehs-admin-header h2 {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
}
.uehs-admin-toolbar {
	width: 100%;
	background: white;
	padding: 20px;
	border-radius: 12px;
	border: 1px solid #dce2e9;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
}
.uehs-admin-toolbar > div{
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
}
.uehs-admin-toolbar > div > select{
	min-width: auto;
	width: auto;
	height: 48px;
	font-size: 16px;
	border-radius: 10px;
}
.uehs-admin-toolbar > div > input{
	width: 100%;
	min-width: auto;
	height: 48px;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    line-height: 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.uehs-admin-toolbar > div > button{
	height: 48px;
	width: auto;
	padding-block: 0px;
	border-radius: 10px !important;
}
@media (max-width: 665px){
	.uehs-admin-toolbar > div{
		flex-direction: column;
		align-items: flex-start;
	}
	.uehs-admin-toolbar > div > button{
		width: 100%;
	}
}
.uehs-admin-toolbar label {
	font-weight: 500;
	color: #374151;
	display: flex;
	align-items: center;
	gap: 8px;
}
.uehs-admin-toolbar select,
.uehs-admin-toolbar input[type="number"] {
	padding: 8px 12px;
	border: 2px solid #e5e7eb;
	border-radius: 6px;
	background: white;
	min-width: 120px;
	transition: border-color 0.2s;
}
.uehs-admin-toolbar select:focus,
.uehs-admin-toolbar input[type="number"]:focus {
	border-color: var(--oms-accent);
	outline: none;
}
.uehs-year-input {
	max-width: 100px;
	text-align: center;
	font-weight: 500;
}
.uehs-search-input {
	flex: 1;
	min-width: 320px;
	padding: 12px 16px;
	border: 2px solid #e5e7eb;
	border-radius: 10px !important;
	font-size: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.uehs-search-input:focus {
	border-color: var(--oms-accent);
	box-shadow: 0 0 0 3px rgba(var(--oms-accent-rgb), 0.1);
	outline: none;
}
.uehs-table-container {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #dce2e9;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.uehs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	border: none !important;
}
.uehs-table th {
	background: #f8fafc;
	padding: 16px 12px;
	text-align: left;
	font-weight: 600;
	color: #374151;
	border-bottom: 2px solid #e5e7eb;
	cursor: pointer;
}
.uehs-table th:hover{
	background-color: rgba(0,0,0,0.1);
}
.uehs-table td {
	padding: 12px;
	border-bottom: 1px solid #f3f4f6;
	color: #6b7280;
}
.uehs-table tbody tr:hover {
	background: #f8fafc;
}

#uehs-novi-kurs-btn{
	background-image: none;
	background-color: white;
	color: var(--oms-interface-text);
	width: fit-content;
}

/* UPLATNICA */

#paymentSlip{
    background-color: white;
    border: 1px solid black;
    width: 670px;
    padding: 20px 25px;
    box-sizing: border-box;
}
#paymentSlip h2{
    text-align: end;
    margin: 0;
    font-size: 20px;
	font-weight: 600;
}
#paymentSlip h5{
    margin: 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 13px;
    margin-bottom: 1px;
}
#paymentSlip span{
    display: block;
    border: 1px solid black;
}
#paymentSlip hr{
    border: none;
    background-color: black;
}

#paymentSlip .upperHolder{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: -5px;
}

#paymentSlip .payerInfo{
    width: 100%;
}
#paymentSlip .payerInfo > div + div{
    margin-top: 5px;
}
#paymentSlip .payerInfo span{
    height: 40px;
    padding: 5px;
	font-size: 14px;
	line-height: 15px;
}

#paymentSlip .upperHolder hr{
    width: 1px;
    margin-block: -2px;
    flex-shrink: 0;
	height: auto;
}

#paymentSlip .paymentInfo{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: flex-start;
}
#paymentSlip .paymentInfo > div + div{
    margin-top: 5px;
}
#paymentSlip .paymentInfo span{
    height: 25px;
    padding: 2px;
    display: grid;
	font-size: 14px;
    place-items: center;
}
#paymentSlip .paymentInfo .group{
    display: flex;
    width: 100%;
    align-items: flex-end;
}
#paymentSlip .paymentInfo .group div:nth-child(1){
    width: 55px;
}
#paymentSlip .paymentInfo .group div:nth-child(2){
    width: 45px;
    margin-left: 10px;
}
#paymentSlip .paymentInfo .group div:nth-child(3){
    margin-left: 25px;
    flex-grow: 1;
}

#paymentSlip .paymentInfo .model > div{
    display: flex;
    width: 100%;
    gap: 30px;
}
#paymentSlip .paymentInfo .model span:nth-child(1){
    width: 30px;
}
#paymentSlip .paymentInfo .model span:nth-child(2){
    flex-grow: 1;
}

#paymentSlip .bottomHolder{
    margin-top: 30px;
}
#paymentSlip .bottomHolder .under{
    width: fit-content;
}
#paymentSlip .bottomHolder .under hr{
    width: calc(100% + 70px);
    height: 1px;
	margin-top: 10px;
}
#paymentSlip .bottomHolder .under h5{
    margin-top: -20px;
}

#paymentSlip .bottomHolder .bottom{
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 130px;
}

@media (max-width: 700px){
    #paymentSlip{
        width: 100%;
        padding: 10px 15px;
    }
    #paymentSlip h2{
        font-size: 13px;
    }
    #paymentSlip h5{
        font-size: 8px;
        line-height: 9px;
    }
    #paymentSlip span{
        font-size: 10px;
    }

    #paymentSlip .upperHolder{
        gap: 15px;
    }

    #paymentSlip .payerInfo span{
        height: auto;
		min-height: 40px;
        padding: 3px;
		line-height: 16px;
		font-size: 12px;
    }

    #paymentSlip .paymentInfo .group div:nth-child(1){
        width: 35px;
    }
    #paymentSlip .paymentInfo .group div:nth-child(2){
        margin-left: 7px;
        width: 28px;
    }
    #paymentSlip .paymentInfo .group div:nth-child(3){
        margin-left: 7px;
    }

    #paymentSlip .paymentInfo span{
        min-height: 23px;
		height: auto;
        font-size: 12px;
    }
    #paymentSlip .paymentInfo .model > div{
        gap: 7px;
    }

    #paymentSlip .bottomHolder{
        margin-top: 25px;
    }

    #paymentSlip .bottomHolder .bottom{
        gap: 60px;
        margin-top: 10px;
    }
    #paymentSlip .bottomHolder .under hr{
        width: calc(100% + 30px);
        height: 1px;
    }
}

@media (max-width: 380px){
    #paymentSlip h2{
        margin-bottom: 10px;
    }
    #paymentSlip span{
        font-size: 9px;
    }

    #paymentSlip .paymentInfo .group div:nth-child(1){
        width: 25px;
    }

    #paymentSlip .paymentInfo .model span:nth-child(1){
        width: 20px;
    }
}

/* UEHS KURSEVI JAVNO */

.uehs-pojedinacni-kurs {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.uehs-kurs-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
	background: white;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.uehs-kurs-header-slika {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
}

.uehs-kurs-header-slika img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}

.uehs-kurs-header-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.uehs-kurs-header-naslov {
	font-size: 36px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 20px 0;
	line-height: 1.2;
}

.uehs-kurs-header-cena {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 20px;
	padding: 15px 20px;
	background: var(--oms-accent-soft);
	border-radius: 8px;
	border-left: 4px solid var(--oms-accent);
}

.uehs-cena-label {
	font-size: 16px;
	color: #6b7280;
	font-weight: 500;
}

.uehs-cena-iznos {
	font-size: 28px;
	font-weight: 700;
	color: var(--oms-accent);
}

.uehs-kurs-kratki-opis {
	font-size: 16px;
	line-height: 1.6;
	color: #374151;
}

.uehs-kurs-opis {
	background: white;
	padding: 30px;
	border-radius: 12px;
	margin-bottom: 40px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.uehs-kurs-opis h2 {
	font-size: 28px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 20px 0;
}

.uehs-kurs-opis p {
	font-size: 16px;
	line-height: 1.8;
	color: #374151;
	margin-bottom: 15px;
}

.uehs-delete-termin-btn{
	float: right;
}

.uehs-kurs-termini-sekcija {
	background: white;
	padding: 30px;
	border-radius: 12px;
	margin-bottom: 30px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.uehs-kurs-termini-sekcija h2 {
	font-size: 28px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 30px 0;
}

.uehs-termini-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.uehs-termin-kartica {
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px;
	transition: all 0.3s ease;
	background: #fafafa;
}

.uehs-termin-kartica:not(.uehs-termin-nedostupan):hover {
	border-color: var(--oms-accent);
	box-shadow: 0 4px 12px rgba(var(--oms-accent-rgb), 0.15);
	transform: translateY(-2px);
}

.uehs-termin-nedostupan {
	opacity: 0.6;
	background: #f9fafb;
}

.uehs-termin-header {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e5e7eb;
}

.uehs-termin-grad {
	font-size: 22px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 8px 0;
}

.uehs-termin-period {
	font-size: 14px;
	color: #6b7280;
	font-weight: 500;
}

.uehs-termin-detalji {
	margin-bottom: 20px;
}

.uehs-termin-info-red {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
}

.uehs-termin-label {
	font-size: 14px;
	color: #6b7280;
}

.uehs-termin-vrednost {
	font-size: 14px;
	font-weight: 600;
	color: #111827;
}

.uehs-termin-mesta {
	background: #dbeafe;
	padding: 4px 12px;
	border-radius: 6px;
	color: #1e40af;
}

.uehs-termin-dugme {
	display: block;
	width: 100%;
	padding: 14px 20px;
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.uehs-dugme-dodaj {
	background: var(--oms-accent);
	color: white;
}

.uehs-dugme-dodaj:hover {
	background: var(--oms-accent-dark);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(var(--oms-accent-rgb), 0.3);
}

.uehs-dugme-nedostupno {
	background: #e5e7eb;
	color: #9ca3af;
	cursor: not-allowed;
}

.uehs-nema-termina {
	text-align: center;
	padding: 60px 20px;
	background: white;
	border-radius: 12px;
	margin-bottom: 30px;
}

.uehs-nema-termina p {
	font-size: 18px;
	color: #6b7280;
	margin: 0;
}

.uehs-kurs-nazad {
	text-align: center;
	margin-top: 40px;
}

.uehs-nazad-dugme {
	display: inline-block;
	padding: 12px 30px;
	background: #f3f4f6;
	color: #374151;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.uehs-nazad-dugme:hover {
	background: #e5e7eb;
	color: #111827;
}

.uehs-kurs-not-found {
	text-align: center;
	padding: 60px 20px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.uehs-kurs-not-found p {
	font-size: 18px;
	color: #6b7280;
	margin-bottom: 20px;
}

.uehs-back-button {
	display: inline-block;
	padding: 12px 30px;
	background: var(--oms-accent);
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: background 0.3s ease;
}

.uehs-back-button:hover {
	background: var(--oms-accent-dark);
}

@media (max-width: 768px) {
	.uehs-kurs-header {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.uehs-kurs-header-slika img {
		height: 300px;
	}

	.uehs-kurs-header-naslov {
		font-size: 28px;
	}

	.uehs-cena-iznos {
		font-size: 24px;
	}

	.uehs-termini-grid {
		grid-template-columns: 1fr;
	}
}

/* UPLATNICA KRAJ */

#uehs-kursevi-table td a{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

@media (max-width: 1270px){
	.uehs-table td:nth-child(5), .uehs-table th:nth-child(5) {
		display: none;
	}
	#uehs-kursevi-table th:nth-child(5), #uehs-kursevi-table td:nth-child(5), .uehs-table.courses-table td:nth-child(5), #uehs-add-user-content .uehs-table td:nth-child(5),
	#uehs-participants-content .uehs-table td:nth-child(5){
		display: table-cell;
	}
}
@media (max-width: 1200px){
	.uehs-table th:nth-child(4), .uehs-table td:nth-child(4) {
		display: none;
	}
	
	.uehs-table.courses-table th:nth-child(4), .uehs-table.courses-table td:nth-child(4), #uehs-participants-content .uehs-table td:nth-child(4),
	#uehs-participants-content .uehs-table th:nth-child(4){
		display: table-cell;
	}
	
	#uehs-participants-content .uehs-table td:nth-child(8), #uehs-participants-content .uehs-table th:nth-child(8){
		display: none;
	}
	
	.uehs-table.courses-table th:nth-child(2), .uehs-table.courses-table td:nth-child(2){
		display: none;
	}
}

@media (max-width: 1050px){
	#uehs-participants-content .uehs-table td:nth-child(3), #uehs-participants-content .uehs-table th:nth-child(3){
		display: none;
	}
}

@media (max-width: 960px){
	.uehs-table th:nth-child(2), .uehs-table td:nth-child(2) {
		display: none;
	}
	#uehs-kursevi-table th:nth-child(2), #uehs-kursevi-table td:nth-child(2),
	#uehs-participants-content .uehs-table td:nth-child(2), #uehs-participants-content .uehs-table th:nth-child(2){
		display: table-cell;
	}
	
	.uehs-table.courses-table th:nth-child(3), .uehs-table.courses-table td:nth-child(3){
		display: none;
	}
	
	#uehs-participants-content .uehs-table td:nth-child(4), #uehs-participants-content .uehs-table th:nth-child(4){
		display: none;
	}
}
@media (max-width: 880px){
	.uehs-table th:nth-child(7), .uehs-table td:nth-child(7) {
		display: none;
	}
	#uehs-kursevi-table th:nth-child(7), #uehs-kursevi-table td:nth-child(7),
	#uehs-participants-content .uehs-table td:nth-child(7), #uehs-participants-content .uehs-table th:nth-child(7){
		display: table-cell;
	}
	
	.uehs-table.courses-table th:nth-child(4), .uehs-table.courses-table td:nth-child(4){
		display: none;
	}
	
	.uehs-admin-header{
		margin: 0px;
		margin-bottom: 20px;
	}
	.uehs-admin-wrap{
		padding-left: 0px;
		padding-right: 0px;
	}
}
@media (max-width: 768px){
	.uehs-table th:nth-child(3), .uehs-table td:nth-child(3) {
		display: none;
	}
	#uehs-kursevi-table th:nth-child(3), #uehs-kursevi-table td:nth-child(3){
		display: table-cell;
	}
	#uehs-kursevi-table td:nth-child(7) div{
		flex-direction: column;
	}
	.uehs-btn-primary{
		margin-left: 0px !important;
		width: 100%;
	}
	#uehs-search{
		font-size: 1rem;
	}
	.uehs-admin-header{
		padding: 15px;
	}
	.uehs-admin-header h2{
		font-size: 1.2rem;
	}
}
@media (max-width: 660px){
	#uehs-novi-kurs-btn{
		padding: 5px 7px;
		font-size: 15px;
	}
	#uehs-kursevi-table th:nth-child(3), #uehs-kursevi-table td:nth-child(3){
		display: none;
	}
}
@media (max-width: 600px){
	#uehs-participants-content .uehs-table th:nth-child(n+2){
		display: none;
	}
	#uehs-participants-content .uehs-table tbody tr{
		width: 100%;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(3, 1fr);
		border-bottom: 1px solid #e0e0e0;
		padding: 10px;
		gap: 5px;
	}
	#uehs-participants-content .uehs-table tbody tr:nth-child(2n){
		background-color: #e5e7eb;
	}
	#uehs-participants-content .uehs-table tr > td:nth-child(5),
	#uehs-participants-content .uehs-table tr > td:nth-child(6),
	#uehs-participants-content .uehs-table tr > td:nth-child(7){
	  grid-row-start: 2;
	}
	#uehs-participants-content .uehs-table tr > td:nth-child(9){
	  grid-row-start: 3;
	}
	#uehs-participants-content .uehs-table tr > td:nth-child(2){
	  grid-column: span 2 / span 2;
	}
	#uehs-participants-content .uehs-table td{
		border-bottom: none;
		padding: 0px;
	}
}
@media (max-width: 450px){
	.uehs-table th:nth-child(8), .uehs-table td:nth-child(8) {
		display: none;
	}
	#uehs-kursevi-table th:nth-child(6), #uehs-kursevi-table td:nth-child(6){
		display: none;
	}
}
@media (max-width: 370px){
	.uehs-table th:nth-child(8), .uehs-table td:nth-child(8) {
		display: none;
	}
	#uehs-kursevi-table th:nth-child(5), #uehs-kursevi-table td:nth-child(5){
		display: none;
	}
	
	.uehs-table.courses-table th:nth-child(5), .uehs-table.courses-table td:nth-child(5){
		display: none;
	}
}

.uehs-visibility-btn{
	padding: 7px 14px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	transition: all .2s;
}

.uehs-private{
	background: #ffeabd;
	color: #ce9312;
	border-bottom: 3px solid #ce9312;
}

.uehs-private:hover{
	color: white;
	background-color: #ffbe33;
}

.uehs-visible{
	background: var(--oms-accent-soft);
	color: var(--oms-accent);
	border-bottom: 3px solid var(--oms-accent);
}

.uehs-visible:hover{
	color: white;
	background-color: var(--oms-accent);
}

.uehs-delete-btn{
	padding: 8px 16px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	transition: all .2s;
	background: #d30a47;
	color: white;
	border-bottom: 3px solid #8c032e;
}

.uehs-delete-btn:hover{
	background: #960833;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(var(--oms-accent-rgb), 0.4);
}

.uehs-edit-btn {
	background-color: var(--oms-accent);
	color: white;
	border: none;
	border-bottom: 3px solid var(--oms-accent-dark);
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}
.uehs-edit-btn:hover {
	transform: translateY(-1px);
	background-color: #e32147 !important;
	border-bottom: 3px solid #9c102cff;
	box-shadow: 0 4px 12px rgba(var(--oms-accent-rgb), 0.4);
}

.uehs-btn-sm {
    padding: 4px 8px;
    font-size: 14px;
    min-width: auto;
}

.uehs-remove-participant-btn {
    cursor: pointer;
    transition: transform 0.2s;
}

.uehs-remove-participant-btn:hover {
    transform: scale(1.1);
}

.uehs-remove-participant-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.uehs-search-box input:focus {
    outline: none;
    border-color: var(--oms-accent);
    box-shadow: 0 0 0 3px rgba(var(--oms-accent-rgb), 0.1);
}

.uehs-btn-success {
    background: var(--oms-accent-dark);
}

.uehs-btn-success:hover {
    background: var(--oms-accent-dark);
}

.uehs-participants-actions{
	margin-bottom: 15px;
}

.uehs-participants-actions > span{
	gap: 10px;
}

.uehs-participants-actions > span button{
	width: auto !important;
}

.uehs-participants-actions > div{
	width: 100%;
	align-items: flex-start !important;
}

@media (max-width: 700px){
	.uehs-participants-actions > div{
		display: flex;
		flex-direction: column;
	}
	.uehs-participants-actions > div span strong{
		display: none;
	}
	.uehs-participants-actions > div span{
		margin-left: 0px !important;
	}
}

@media (max-width: 425px){
	.uehs-participants-actions > span{
		flex-direction: column;
		gap: 5px;
	}
	.uehs-participants-actions > span button{
		width: 100% !important;
	}
}

/* Modal Styles */
.uehs-modal {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.6);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
}
.uehs-modal-content {
	position: relative;
	background: white;
	width: min(1000px, 95vw);
	max-height: 90vh;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
	overflow: hidden;
	animation: modalSlideIn 0.3s ease-out;
}
.uehs-modal-large {
	max-width: 900px;
}
@keyframes modalSlideIn {
	from { opacity: 0; transform: scale(0.9) translateY(-20px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}
.uehs-modal-header {
	background: linear-gradient(135deg, var(--oms-accent) 0%, var(--oms-accent-dark) 100%);
	color: white;
	padding: 20px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.uehs-modal-header h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
}
.uehs-close-btn {
	background: rgba(255,255,255,0.2);
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s;
}
.uehs-close-btn:hover {
	background: rgba(255,255,255,0.3);
}
.uehs-modal-body {
	padding: 24px;
	max-height: calc(90vh - 200px);
	overflow-y: auto;
}

.uehs-modal-body #uehs-termini-section{
	margin-bottom: 60px;
}

.uehs-admin-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.uehs-modal-body{
	padding-bottom: 35px;
}
.uehs-admin-header h2 {
	margin: 0;
}
.uehs-image-upload-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}
.uehs-image-preview {
	width: 150px;
	height: 150px;
	border: 2px dashed #d1d5db;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f9fafb;
}
.uehs-image-preview img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}
.uehs-image-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.uehs-form-actions.buttons{
	position: absolute;
	padding: 12px;
	background-color: var(--oms-interface-bg, white);
	bottom: 0; 
	width: 100%;
	left: 0;
	z-index: 2;
	border-top: 1px solid var(--oms-interface-border, #e5e7eb);
	box-sizing: border-box;
}
.uehs-form-actions button{
	font-size: 18px;
	padding: 10px 20px;
}

#uehs-edit-form .uehs-form-grid,
#uehs-add-form .uehs-form-grid,
#uehs-kurs-edit-form .uehs-form-grid {
	padding-bottom: 72px;
}
.uehs-btn-danger {
	background: #dc2626 !important;
	color: white !important;
	border: none !important;
}
.uehs-btn-danger:hover {
	background: #b91c1c !important;
}
.uehs-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.uehs-fieldset-full {
	grid-column: 1 / -1;
}

.uehs-single-product {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.uehs-product-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.uehs-product-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
	object-fit: cover;
}

.uehs-product-info h1 {
    margin: 0 0 30px 0;
    font-size: 2.25em;
    line-height: 1.2;
    color: var(--oms-accent-dark);
}

.uehs-kotizacija-box {
    background: var(--oms-accent-soft);
    border-left: 4px solid var(--oms-accent);
    padding: 20px 25px;
	border-radius: 15px;
}

.uehs-kotizacija-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.uehs-kotizacija-cena {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--oms-accent);
    margin: 0;
}

@media (max-width: 500px){
	.uehs-product-header{
		padding: 10px;
	}
	.uehs-product-info h1 {
		font-size: 1.5em !important;
	}
	.uehs-kotizacija-cena {
		font-size: 1.25em;
	}
}

.uehs-product-description {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
}

.uehs-section {
    margin-bottom: 40px;
}

.uehs-section-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: var(--oms-accent-dark);
    font-weight: 700;
}

.uehs-program-content,
.uehs-predavaci-content,
.uehs-akreditacija-content{
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 25px;
    border-radius: 20px;
    line-height: 1.5;
}

.uehs-hr{
	margin: 0.75rem 0;
	border-bottom: 1px solid #e0e0e0;
}

.uehs-spacer{
	height: 16px;
}

.uehs-md-h3{
	color: var(--oms-accent-dark);
	font-size: 1.5rem;
}

.uehs-section p{
	margin-block: 0px !important;
}

.uehs-termini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.uehs-termini-grid .uehs-termin-card {
    border-radius: 20px;
    padding: 25px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.uehs-termini-grid .uehs-termin-card:hover {
    box-shadow: 0 4px 25px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.uehs-termin-card.out-of-stock {
    opacity: 0.6;
}

.uehs-termin-details{
	display: flex;
	gap: 5px;
	margin-top: 5px;
}

#uehs-participants-modal .uehs-modal-large, #uehs-participants-modal .uehs-modal-large{
	max-width: 1400px;
    width: min(1400px, 95vw);
}

@media (max-width: 730px){
	.uehs-termin-details{
		display: grid;
    	grid-template-columns: 1fr 1fr 1fr;
    	grid-template-rows: 1fr 1fr;
	}
}

@media (max-width: 540px){
	.uehs-termin-details{
		display: grid;
    	grid-template-columns: 1fr 1fr;
    	grid-template-rows: 1fr 1fr 1fr;
	}
	.uehs-termin-details span{
		font-size: 1rem;
	}
}


@media (max-width: 400px){
	.uehs-termin-details{
		display: grid;
    	grid-template-columns: 1fr;
    	grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
	}
}

.uehs-termin-details span{
	background-color: #e5e7eb;
	color: #929aaa;
	border-radius: 7px;
	padding: 7px 10px;
	font-weight: 500;
	font-size: 17px;
}

.uehs-termin-details span:nth-child(3){
	background-color: rgba(21,79,188,0.2);
	color: rgb(21,79,188);
}

.uehs-termin-details span:nth-child(4){
	background-color: rgba(227,169,69,0.2);
	color: rgb(227,169,69);
}

.uehs-termin-details span:nth-child(5){
	background-color: rgba(var(--oms-accent-rgb), 0.2);
	color: rgb(var(--oms-accent-rgb));
}

.uehs-termin-grad {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--oms-accent-dark);
    margin: 0 0 10px 0;
}

.uehs-termin-period {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 25px;
}

.uehs-termin-detail {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.uehs-termin-detail:last-of-type {
    border-bottom: none;
}

.uehs-termin-detail-label {
    color: #666;
    font-size: 0.95em;
}

.uehs-termin-detail-value {
    color: var(--oms-accent-dark);
    font-weight: 600;
}

.uehs-termin-detail-value.stock-number {
    color: #2196f3;
}

.uehs-termin-progress {
    margin: 20px 0;
}

.uehs-termin-actions {
    margin-top: 25px;
}

.uehs-btn-prijava {
    width: 100%;
    padding: 15px;
    background: var(--oms-accent);
    color: white;
    border-bottom: 4px solid var(--oms-accent-dark);
    border-radius: 12px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.uehs-btn-prijava:hover:not(:disabled) {
    background: var(--oms-accent-dark);
}

.uehs-btn-prijava:disabled {
    background: #e0e0e0;
    color: #999;
	border-bottom: 4px solid lightgray;
    cursor: not-allowed;
}

.uehs-btn-zatvorena {
    background: #e0e0e0;
    color: #999;
}

@media (max-width: 768px) {
    .uehs-product-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .uehs-termini-grid {
        grid-template-columns: 1fr;
    }
    
    .uehs-product-info h1 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
	.uehs-form-grid {
		grid-template-columns: 1fr;
	}
	.uehs-image-upload-wrapper {
		flex-direction: column;
		align-items: center;
	}
}

.media-menu-item{
	color: black;
}

.uehs-courses-wrapper {
	overflow-x: auto;
	max-width: 1020px;
    margin: auto;
	margin-bottom: 50px;
}

.uehs-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.uehs-table th,
.uehs-table td {
	padding: 24px 16px;
	text-align: left;
	border-bottom: 1px solid #e0e0e0;
}

.uehs-table thead th {
	background: #f5f5f5;
	font-weight: 600;
	color: #333;
	user-select: none;
	-webkit-user-select: none;
}

.uehs-table tbody tr:hover {
	background: #f9f9f9;
}

.uehs-table .status-completed {
	color: var(--oms-accent);
	font-weight: 500;
}

.uehs-table .status-failed {
	color: #f44336;
	font-weight: 500;
}

.action-cell {
	text-align: center;
}

.uehs-btn-diploma {
	display: inline;
	padding: 10px 18px;
	background-color: var(--oms-accent);
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	border-bottom: 2px solid var(--oms-accent-dark);
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(var(--oms-accent-rgb), 0.3);
}

.uehs-btn-diploma:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(var(--oms-accent-rgb), 0.4);
	color: #fff;
}

.uehs-btn-diploma:active {
	transform: translateY(0);
}

.no-diploma {
	color: #999;
	font-style: italic;
}

.uehs-notice {
	padding: 12px 16px;
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	color: #856404;
	border-radius: 4px;
	font-size: 13px;
	margin: 8px 0 0;
}

@media (max-width: 768px) {
	.uehs-table th,
	.uehs-table td {
		padding: 8px 10px;
		font-size: 14px;
	}

	.uehs-btn-diploma {
		padding: 6px 12px;
		font-size: 13px;
	}
}

/* Form Styles */
.uehs-form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 24px;
}
.uehs-fieldset {
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px;
	background: #fafafa;
}
.uehs-fieldset legend {
	font-weight: 600;
	color: #374151;
	background: white;
	padding: 0 12px;
	border-radius: 6px;
}
.uehs-form-field {
	margin-bottom: 16px;
}
.uehs-form-field label {
	display: block;
	font-weight: 500;
	color: #374151;
	margin-bottom: 6px;
}
.uehs-form-field input,
.uehs-form-field select,
.uehs-form-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 2px solid #e5e7eb;
	border-radius: 6px;
	font-size: 14px;
	line-height: 24px;
	color: #212529;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}
.uehs-form-field select{
	overflow-y: scroll;
}
.uehs-form-field input:focus,
.uehs-form-field select:focus,
.uehs-form-field textarea:focus {
	border-color: var(--oms-accent);
	box-shadow: 0 0 0 3px rgba(var(--oms-accent-rgb), 0.1);
	outline: none;
}
.uehs-form-field input:disabled,
.uehs-form-field textarea:disabled {
	background: #f3f4f6;
	color: #9ca3af;
	cursor: not-allowed;
}
.optiflow-membership-extra-checkbox-field {
	display: flex;
	align-items: center;
	min-height: 46px;
	margin-bottom: 16px;
}
.uehs-form-field .optiflow-membership-extra-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 500;
	line-height: 1.3;
}
.uehs-form-field .optiflow-membership-extra-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin: 0;
	padding: 0;
	border-radius: 4px;
	line-height: 1;
	flex: 0 0 auto;
}
.uehs-membership-grid {
	grid-column: 1 / -1;
}
.uehs-membership-fields {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.uehs-form-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	padding-top: 20px;
	border-top: 2px solid #e5e7eb;
}
.uehs-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}
.uehs-btn-secondary {
	background: #e5e7eb;
	color: #374151;
}
.uehs-btn-secondary:hover {
	background: #d1d5db;
}
.uehs-btn-primary {
	background-color: var(--oms-accent);
	color: white;
}
.uehs-btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(var(--oms-accent-rgb), 0.4);
}
.uehs-view-participants-btn{
	background-color: var(--oms-accent);
}


.uehs-participants-info{
	margin-bottom: 15px;
}

.uehs-participants-info p{
	margin-block: 0px;
}

/* Multiple select styling */
.uehs-multiselect {
	min-height: 100px;
}

/* Loader styles */
.uehs-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px;
	color: #6b7280;
	font-size: 16px;
	gap: 12px;
}
.uehs-spinner {
	width: 24px;
	height: 24px;
	border: 3px solid #e5e7eb;
	border-top: 3px solid var(--oms-accent);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.uehs-table-loader {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	border-radius: 12px;
}
.uehs-table-container {
	position: relative;
}
.uehs-modal-loader {
	padding: 80px 40px;
	text-align: center;
	color: #6b7280;
}

@media (max-width: 768px) {
	.uehs-form-grid {
		grid-template-columns: 1fr;
	}
	.uehs-membership-fields {
		grid-template-columns: 1fr;
	}
	.uehs-admin-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
}

/* WooCommerce stuff */

.cart-subtotal, .order-total{
	display: none;
}

#payment{
	background: rgb(236 239 243) !important;
    border-radius: 12px !important;
	border: 1px solid rgba(0,0,0,.1);
	margin-bottom: 15px;
}

#payment div.payment_box{
	background-color: #ffffff !important;
	border-radius: 10px !important;
	border: 1px solid rgba(0,0,0,.15) !important;
}

#payment div.payment_box::before{
	border-bottom-color: #ffffff !important;
}

.entry-content .woocommerce{
	margin-top: 50px;
	margin-bottom: 50px;
}

.woocommerce-checkout #payment div.form-row, .woocommerce-checkout #payment div.payment_box p:last-child{
	margin: 0 !important;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
	border-radius: 12px;
    padding-inline: 2rem;
}

.woocommerce table.shop_table{
	border: 1px solid rgba(0,0,0,.15) !important;
	border-radius: 12px !important;
	overflow: hidden !important;
}

.woocommerce .woocommerce-order-details tfoot:last-child tr:nth-child(1), .woocommerce .woocommerce-order-details tfoot:last-child tr:nth-child(2),
.woocommerce-customer-details{
	display: none;
}

.slip-and-code{
	display: flex;
	gap: 10px;
}

.ips-code{
	max-width: 300px !important;
}

@media (max-width: 1160px){
	.slip-and-code{
		flex-direction: column;
	}
}

.uslovi{
	padding-top: 20px;
	padding-bottom: 50px;
}

.uslovi p{
	margin-bottom: 0px;
	margin-top: 7px;
}

.usl-naslov{
	margin-top: 50px;
}

/* KURSEVI JAVNO */

.uehs-kursevi-wrapper {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
}

.uehs-kursevi-naslov {
	font-size: 32px;
	font-weight: 700;
	color: var(--oms-accent);
	margin: 0 0 40px 0;
}

.uehs-kursevi-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
}

.uehs-kurs-kartica {
	display: grid;
	grid-template-columns: minmax(190px, 0.9fr) minmax(240px, 1.1fr);
	height: 100%;
	min-height: 250px;
	background: #151821;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	padding: 14px;
	gap: 18px;
	overflow: hidden;
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.uehs-kurs-kartica:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 97, 56, 0.5);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.uehs-kurs-slika {
	width: 100%;
	height: 100%;
	min-height: 222px;
	overflow: hidden;
	border-radius: 14px;
	background: #0f111a;
}

.uehs-kurs-slika img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.uehs-kurs-kartica:hover .uehs-kurs-slika img {
	transform: scale(1.04);
}

.uehs-kurs-sadrzaj {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-grow: 1;
	padding: 6px 6px 2px 0;
}

.uehs-kurs-info-wrapper {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.uehs-kurs-naziv {
	font-size: 20px;
	line-height: 1.22;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 10px 0;
	min-height: 0;
}

.uehs-kurs-info {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
	color: #e5e7eb;
	margin: 5px 0;
	font-weight: 700;
}

.uehs-kurs-kotizacija {
	font-size: 15px;
	font-weight: 800;
	color: var(--oms-accent);
	margin: 0 0 8px;
}

.uehs-kurs-kotizacija,
.uehs-kurs-kotizacija strong,
.uehs-kurs-kotizacija span {
	color: var(--oms-accent);
}

.uehs-kurs-divider {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin: 8px 0;
}

.uehs-kurs-termini{
	margin-bottom: 12px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 88px;
}

.uehs-kurs-termini strong {
	display: block;
	color: #cbd5e1;
	font-size: 13px;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.uehs-termini-lista {
	list-style: none;
	padding: 0;
	margin: 0;
	min-height: 60px;
}

.uehs-termin-item {
	color: #ffffff;
	font-size: 14px;
	line-height: 1.4;
	min-height: 20px;
}

.uehs-kurs-dugme {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	padding: 11px 20px;
	background: #ff6138;
	color: #ffffff;
	text-align: center;
	text-decoration: none;
	border-radius: 14px;
	border: 0;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 12px 30px rgba(255, 97, 56, 0.22);
	font-size: 16px;
	font-weight: 800;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.uehs-kurs-dugme:hover {
	background: #ff754f;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 16px 36px rgba(255, 97, 56, 0.3);
}

.reg-closed {
	display: inline-block;
	width: 100%;
	padding: 14px 24px;
	background: #e32147;
	color: white;
	text-align: center;
	border-radius: 15px;
	border-bottom: 4px solid #c11538;
	font-weight: 600;
	font-size: 16px;
	margin-top: 16px;
}

@media (max-width: 1024px) {
	.uehs-kursevi-grid {
		grid-template-columns: 1fr;
	}

	.uehs-kurs-kartica {
		grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
	}
}

@media (max-width: 760px) {
	.uehs-kursevi-grid {
		grid-template-columns: 1fr;
	}

	.uehs-kurs-kartica {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.uehs-kurs-slika {
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 11;
	}

	.uehs-kurs-sadrzaj {
		padding: 18px 8px 4px;
	}
}

.uehs-termini-list{
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 15px;
}

.uehs-termini-list .uehs-termin-card{
	border: 2px solid #e5e7eb;
    padding: 15px;
    border-radius: 10px;
}

.uehs-termini-list .uehs-termin-actions{
	margin-top: 10px;
}

@media (max-width: 486px){
	.uehs-termini-list .uehs-termin-actions{
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 5px;
	}
	.uehs-termini-list .uehs-termin-actions button:nth-last-child(1){
		grid-column: span 2 / span 2;
	}
}

@media (max-width: 370px){
	.uehs-termini-list .uehs-termin-actions{
		grid-template-columns: 1fr;
	}
	.uehs-termini-list .uehs-termin-actions button:nth-last-child(1){
		grid-column: auto;
	}
}

.woocommerce-privacy-policy-text{
	display: none;
}

/* Event admin modal */
#uehs-kurs-modal {
	padding: 18px;
}

#uehs-kurs-modal .uehs-modal-content.uehs-modal-large {
	width: min(1120px, calc(100vw - 36px));
	max-width: 1120px;
	max-height: min(760px, calc(100vh - 112px));
	border-radius: 14px;
	background: var(--oms-interface-bg, #11131b);
	border: 1px solid var(--oms-interface-border, #2f3340);
	box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#uehs-kurs-modal .uehs-modal-header {
	flex: 0 0 auto;
	padding: 18px 24px;
	background: var(--oms-accent, #ff6138);
}

#uehs-kurs-modal .uehs-modal-header h3 {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0;
}

#uehs-kurs-modal .uehs-close-btn {
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 6px;
	font-weight: 700;
}

#uehs-kurs-modal .uehs-modal-body {
	flex: 1 1 auto;
	max-height: none;
	padding: 24px;
	overflow: auto;
	scrollbar-gutter: stable;
}

#uehs-kurs-modal #uehs-kurs-edit-form {
	display: grid;
	gap: 18px;
	row-gap: 18px;
}

#uehs-kurs-modal #uehs-kurs-edit-form > .uehs-form-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	margin: 0;
	padding-bottom: 0;
	align-items: start;
}

#uehs-kurs-modal #uehs-kurs-edit-form > .uehs-fieldset,
#uehs-kurs-modal #uehs-kurs-edit-form > .uehs-form-grid > .uehs-fieldset {
	margin: 0;
}

#uehs-kurs-modal #uehs-kurs-edit-form > .uehs-form-grid + .uehs-form-grid,
#uehs-kurs-modal #uehs-kurs-edit-form > .uehs-form-grid + .uehs-fieldset,
#uehs-kurs-modal #uehs-kurs-edit-form > .uehs-fieldset + .uehs-fieldset,
#uehs-kurs-modal #uehs-kurs-edit-form > .uehs-fieldset + .uehs-form-grid {
	margin-top: 18px;
}

#uehs-kurs-modal #uehs-kurs-edit-form > .uehs-form-grid:nth-of-type(n+2) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

#uehs-kurs-modal .uehs-fieldset > .uehs-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
}

#uehs-kurs-modal .uehs-modal-body #uehs-termini-section {
	margin-bottom: 0;
}

#uehs-kurs-modal .uehs-fieldset {
	min-width: 0;
	margin: 0;
	padding: 20px;
	border: 1px solid var(--oms-interface-border, #343846);
	border-radius: 10px;
	background: rgba(255,255,255,.025);
}

#uehs-kurs-modal .uehs-fieldset legend {
	padding: 0 10px;
	background: var(--oms-interface-bg, #11131b);
	color: var(--oms-interface-text, #f8fafc);
	font-size: 15px;
	font-weight: 800;
}

#uehs-kurs-modal .uehs-event-image-fieldset {
	position: static;
}

#uehs-kurs-modal .uehs-image-upload-wrapper {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
}

#uehs-kurs-modal .uehs-image-preview {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	border-radius: 8px;
	border: 1px dashed var(--oms-interface-border, #4b5563);
	background: rgba(255,255,255,.04);
}

#uehs-kurs-modal .uehs-image-actions {
	display: grid;
	gap: 10px;
}

#uehs-kurs-modal .uehs-form-field {
	margin-bottom: 18px;
}

#uehs-kurs-modal .uehs-form-field:last-child {
	margin-bottom: 0;
}

#uehs-kurs-modal .uehs-form-field label,
#uehs-kurs-modal .uehs-discount-rule label {
	display: block;
	margin: 0 0 7px;
	color: var(--oms-interface-text, #f8fafc);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
}

#uehs-kurs-modal .uehs-form-field input:not([type="checkbox"]),
#uehs-kurs-modal .uehs-form-field select,
#uehs-kurs-modal .uehs-form-field textarea,
#uehs-kurs-modal .uehs-discount-rule input:not([type="checkbox"]),
#uehs-kurs-modal .uehs-discount-rule select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--oms-interface-border, #343846);
	border-radius: 6px;
	background: rgba(255,255,255,.04);
	color: var(--oms-interface-text, #f8fafc);
	box-sizing: border-box;
}

#uehs-kurs-modal select[multiple] {
	min-height: 112px;
	padding: 8px;
}

#uehs-kurs-modal input[type="checkbox"] {
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto;
}

#uehs-kurs-modal label:has(input[type="checkbox"]) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
}

#uehs-kurs-modal .uehs-event-discount-builder {
	display: grid;
	gap: 12px;
}

#uehs-kurs-modal .uehs-event-discount-rules {
	display: grid;
	gap: 12px;
}

#uehs-kurs-modal .uehs-discount-empty {
	padding: 14px;
	border: 1px dashed var(--oms-interface-border, #343846);
	border-radius: 8px;
	color: rgba(248,250,252,.72);
	background: rgba(255,255,255,.025);
	font-size: 14px;
}

#uehs-kurs-modal .uehs-discount-rule {
	display: grid;
	grid-template-columns: minmax(220px, 1.4fr) minmax(130px, .8fr) minmax(120px, .75fr) minmax(100px, .65fr) auto auto;
	gap: 12px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--oms-interface-border, #343846);
	border-radius: 8px;
	background: rgba(255,255,255,.035);
}

#uehs-kurs-modal .uehs-discount-rule label {
	font-size: 12px;
}

#uehs-kurs-modal .uehs-discount-role-field {
	grid-row: auto;
}

#uehs-kurs-modal .uehs-discount-combine {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	align-self: center;
	min-height: 44px;
	margin-top: 0;
	transform: translateY(8px);
	white-space: nowrap;
}

#uehs-kurs-modal .uehs-discount-rule [data-remove-discount-rule] {
	align-self: center;
	margin-top: 12px;
	min-height: 44px;
	padding: 10px 18px;
	white-space: nowrap;
}

#uehs-kurs-modal .uehs-form-actions.buttons {
	position: sticky;
	left: auto;
	bottom: -24px;
	z-index: 5;
	width: auto;
	margin: 6px -24px -24px;
	padding: 14px 24px;
	background: var(--oms-interface-bg, #11131b);
	border-top: 1px solid var(--oms-interface-border, #343846);
}

#uehs-kurs-modal .uehs-form-actions button {
	min-height: 48px;
	font-size: 16px;
	border-radius: 8px;
}

@media (max-width: 980px) {
	#uehs-kurs-modal #uehs-kurs-edit-form > .uehs-form-grid,
	#uehs-kurs-modal #uehs-kurs-edit-form > .uehs-form-grid:nth-of-type(n+2) {
		grid-template-columns: 1fr;
	}

	#uehs-kurs-modal .uehs-event-image-fieldset {
		position: static;
	}

	#uehs-kurs-modal .uehs-image-upload-wrapper {
		grid-template-columns: minmax(120px, 180px) 1fr;
		align-items: center;
	}

	#uehs-kurs-modal .uehs-discount-rule {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#uehs-kurs-modal .uehs-discount-role-field {
		grid-column: auto;
	}
}

@media (max-width: 640px) {
	#uehs-kurs-modal {
		padding: 8px;
	}

	#uehs-kurs-modal .uehs-modal-content.uehs-modal-large {
		width: calc(100vw - 16px);
		max-height: calc(100vh - 32px);
	}

	#uehs-kurs-modal .uehs-modal-body {
		padding: 16px;
	}

	#uehs-kurs-modal .uehs-image-upload-wrapper,
	#uehs-kurs-modal .uehs-discount-rule {
		grid-template-columns: 1fr;
	}

	#uehs-kurs-modal .uehs-form-actions.buttons {
		margin: 4px -16px -16px;
		padding: 12px 16px;
	}
}
