body {
	font-size: 16px;
	font-family: 'Arial', sans-serif;
	color: #2C2E3A;
	margin: 0;
	padding: 0;
	line-height: 1.6;
	background-color: #F1F3FA;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-y: scroll; /* Force scrollbar to always show */
}

.intd {
	width: 976px;
	background-color: #FFFFFF;	
}

.intdmain {
	width: 960px;
	background-color: #FFFFFF;	
}

form {
	margin-bottom: 0;
}

.body_top {
	height: 198px;
}


.body_bottom {
	height: 30px;
}

.menuss {
	height: 41px;
	background-color: #FFFFFF;
}

.menus {
	width: 1%;
	text-align: center;
	height: 41px;
	white-space: nowrap;
	background-color: #FFFFFF;
}

.menus a {
	color: #1e293b;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}

td#header {
	height: 157px;
	vertical-align: top;
	background-image:url(../images/logo.jpg);
	background-position: left;
	background-repeat: no-repeat;
}

td#header_pom {
	height: 157px;
}

.farba_1 {
	background-color: #FFFFFF;
}

.farba_2 {
	background-color: #DCE8FA;
}

.farba_3 {
	background-color: transparent;
}

td#footer {
	font-weight: normal; 
	font-size: 12px;
	color: #000000;
	text-align: center;
	vertical-align: middle;
}

#prijava {
	width: 100%;
}

.prijava_siimage {
	border: 2px solid;
	padding-right: 0;
}

#brojac_tdl {
	border: solid 2px #666699;
	border-right: none;
	vertical-align: top;
	width: 210px;
}

#brojac_tdd {
	border: solid 2px #666699;
	vertical-align: top;
}

#brojac_tdt {
	height: 50px;
	text-align: center;
}

#dugme {
	background-color: #6666CC;
	border-radius: 6px;
	color: #fff;
	text-decoration: none;
	border: solid 2px #333366;
	padding: 3px 10px;
	font-weight: bold;
}

#dugme:hover {
	background-color: #9999FF;
}

.lista_autora_title {
	border-top:  solid 1px #000066;
	border-left: solid 1px #000066;
	border-bottom: solid 1px #000066;
	background-color: #0E4C7D;
	color: #FFFFFF;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
}
.lista_autora_title_end {
	border-top:  solid 1px #000066;
	border-left: solid 1px #000066;
	border-right: solid 1px #000066;
	border-bottom: solid 1px #000066;
	background-color: #0E4C7D;
	color: #FFFFFF;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
}
.lista_autora {
	border-left: solid 1px #000066;
	border-bottom: solid 1px #000066;
}
.lista_autora_end {
	border-left: solid 1px #000066;
	border-bottom: solid 1px #000066;
	border-right: solid 1px #000066;
}

td#small_t {
	FONT-WEIGHT: normal;
	FONT-SIZE: 12px
}

td#ssmall_t {
	FONT-WEIGHT: normal;
	FONT-SIZE: 11px
}

td#ssmall_t {
	FONT-WEIGHT: normal;
	FONT-SIZE: 10px
}

td#c_dan {
	FONT-WEIGHT: bold;
	FONT-SIZE: 22px;
	color: #0000FF;
}

td#c_sat {
	FONT-WEIGHT: bold;
	FONT-SIZE: 22px;
	color: #0000FF;
}

td#c_min {
	FONT-WEIGHT: bold;
	FONT-SIZE: 22px;
	color: #0000FF;
}

td#c_sek {
	FONT-WEIGHT: bold;
	FONT-SIZE: 22px;
	color: #FF0000;
}

td#c_ocena {
	FONT-WEIGHT: bold;
	FONT-SIZE: 120px
}

td#lista_d {
	FONT-WEIGHT: normal;
	FONT-SIZE: 12px;
	padding-right: 5px;
}

td#lista_l {
	FONT-WEIGHT: normal;
	FONT-SIZE: 12px;
	padding-left: 5px;
	border-bottom-style:solid;  
	border-bottom-width:1px;
}
td#naslov_bck {
	height: 105px;
	background-color: #FFFFFF;
	background-image: url(../images/naslov_bck.png);
	background-position: top;
	background-repeat: no-repeat;
	text-align:left;
}

td#naslov {
	FONT-WEIGHT: bold; 
	FONT-SIZE: 22px;
	text-align: center;
	color: #0000FF;
	text-transform: uppercase;
}

td#naslov.manji {
	FONT-SIZE: 13px;
	text-transform: none;
	color: #000000;
}

td#side_links {
	padding: 6px 20px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	color: #666666;
}

td#linkovi a {
	color: #000000;
	font-weight: bold;
	text-decoration: none;
}

td#linkovi a:hover {
	text-decoration: underline;
}

td#naslov_strane {
	FONT-WEIGHT: normal; 
	FONT-SIZE: 14px;
	background-color:#FFFFFF
}

td#naslov_strane_siv {
	FONT-WEIGHT: normal; 
	FONT-SIZE: 14px;
}

td#veca_slova {
	FONT-WEIGHT: normal; 
	FONT-SIZE: 18px;
}

td#naslov_strane p {
	margin-left: 8px;
	margin-right: 8px;
}

td#strana {
	FONT-WEIGHT: normal; 
	FONT-SIZE: 16px;
	COLOR:#000000
}


td#menu_l a {
	FONT-WEIGHT: normal; 
	FONT-SIZE: 18px;
	TEXT-DECORATION: none;
	COLOR: #000000
}

td#log_corner {
	FONT-WEIGHT: normal; 
	FONT-SIZE: 11px;
	COLOR: #000000;
	padding-right: 33px;
}

td#log_corner a {
	text-decoration: underline;
	FONT-SIZE: 11px;
	color: #FF6600;
}

table#table-stat {
	border-width: 1px;
	border-spacing: 0px;
	border-style: outset;
	border-color: black;
	border-collapse: collapse;
	background-color: white;
}
table#table-stat th {
	border-width: 1px;
	text-align:center;
	padding: 0px;
	border-style: outset;
	border-color: black;
	background-color: white;
}
table#table-stat td {
	font-size: 10px;
	text-align:center;
	border-width: 1px;
	padding: 2px;
	border-style: outset;
	border-color: black;
	background-color: white;
}

.spacer{clear:both; height:2px;}

.forma_s {
	margin:0 auto;
}
	#stilizovan p {
		font-size:14px;
		margin-bottom: 1px;
	}
	#stilizovan input[type="text"] {
		background-color:#FFFFFF;
		border:solid 1px #aacfe4;
		font-size:10px;
		width:100px;
	}
	#stilizovan input[type="submit"] {
		font-size:10px;
	}
	#stilizovan input[type="file"] {
		font-size:10px;
	}

h1, h2, h3 {
	color: #1e293b;
}

a {
	color: #2563EB;
	text-decoration: none;
}

a:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
}

nav {
	margin: 20px 0;
}

nav a {
	margin-right: 15px;
	font-size: 1.2em;
}

.main-content {
	margin: 20px 0;
}

section {
	background-color: #FFFFFF;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

footer {
	text-align: center;
	padding: 20px 0;
	background-color: #2C2E3A;
	color: #FFFFFF;
}

@media (max-width: 768px) {
	header {
		flex-direction: column;
		align-items: flex-start;
	}

	nav {
		margin: 10px 0;
	}

	nav a {
		display: block;
		margin: 5px 0;
	}
}

/* Login Page Styles */
.login-container {
	background-color: white;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	width: 100%;
	max-width: 400px;
	margin: auto;
}

.login-logo {
	text-align: center;
	margin-bottom: 2rem;
}

.login-logo img {
	max-width: 200px;
	height: auto;
}

.register-link {
	text-align: center;
	margin-top: 1rem;
}

.register-link a {
	color: #2563EB;
	text-decoration: none;
}

.register-link a:hover {
	text-decoration: underline;
}

/* Registration Page Styles */
.registration-container {
	max-width: 600px;
	margin: 40px auto;
	padding: 30px;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.registration-header {
	text-align: center;
	margin-bottom: 30px;
}

.registration-header h1 {
	color: #2C2E3A;
	margin-bottom: 10px;
}

.registration-header p {
	color: #3DA1C4;
}

/* Form Styles */
.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: #2C2E3A;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
	color: #2C2E3A;
}

.form-control:focus {
	outline: none;
	border-color: #334155;
	box-shadow: 0 0 0 2px rgba(90, 49, 244, 0.1);
}

.form-text {
	font-size: 0.875rem;
	color: #666;
	margin-top: 0.25rem;
}

/* Button Styles */
.btn-primary {
	background-color: #334155;
	color: white;
	padding: 0.75rem;
	border: none;
	border-radius: 4px;
	width: 100%;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.btn-primary:hover {
	background-color: #1e293b;
}

/* Message Styles */
.messages {
	margin-bottom: 1rem;
}

.error {
	color: #FF8661;
	background-color: #fff5f3;
	padding: 0.75rem;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.success {
	color: #3DA1C4;
	background-color: #f0f9fc;
	padding: 0.75rem;
	border-radius: 4px;
	margin-bottom: 1rem;
}

/* Homepage Styles */
.site-header {
    margin-top: 40px;
}

.main-nav {
    margin-top: 20px;
}

.main-nav a {
    font-size: 1.5em;
    color: #2C2E3A;
    text-decoration: none;
    margin: 0 10px;
}

.main-nav a:hover {
    color: #334155;
}

.hero-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
}

.rules-section {
    background: #000;
    color: #fff;
    padding: 40px;
    margin: 10px 0;
}

.deadline-box {
    margin: 8px;
    background: #FFC145;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

.deadline-box h2 {
    color: #2C2E3A;
    margin: 10px 0;
}

.deadline-box a {
    text-decoration: none;
    color: #2C2E3A;
}

.deadline-box a:hover {
    color: #334155;
}

.logos-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    border: 1px solid #2C2E3A;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
}

.error-message {
    color: #FF8661;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Button Styles */
.btn-primary {
    background-color: #334155;
    border: none;
    padding: 12px 24px;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #1e293b;
}

/* Select2 Custom Styles */
.select2-container {
    width: 100% !important;
    position: relative;
    z-index: 100;
}

.select2-container .select2-selection--single {
    height: 44px !important;
    padding: 8px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background-color: #fff !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    line-height: 26px !important;
    color: #2C2E3A !important;
}

.select2-container .select2-selection--single .select2-selection__placeholder {
    color: #666 !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    width: 30px !important;
    right: 3px !important;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    border-color: #2C2E3A transparent transparent transparent !important;
    border-width: 6px 4px 0 4px !important;
}

.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #2C2E3A transparent !important;
    border-width: 0 4px 6px 4px !important;
}

.select2-dropdown {
    margin-top: 1px !important; /* Add slight gap between field and dropdown */
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    z-index: 99 !important;
}

.select2-search--dropdown {
    padding: 8px !important;
}

.select2-search--dropdown .select2-search__field {
    padding: 8px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    height: 38px !important;
}

.select2-results__option {
    padding: 8px 12px !important;
    font-size: 16px !important;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #334155 !important;
    color: #fff !important;
}

.select2-results__option[aria-selected=true] {
    background-color: #F1F3FA !important;
}

/* Remove duplicate form-control styles */
select.form-control {
    display: none;  /* Hide the original select since Select2 will create its own UI */
}

/* Photo Upload Page Styles */
.header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header img {
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
}

.user-info {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    padding: 8px 15px;
    border-radius: 0;
    font-size: 0.9rem;
    z-index: 10;
}

.user-info span {
    font-weight: 600;
    color: #2C2E3A;
}

.user-info a {
    display: inline-block;
    margin-left: 8px;
    color: #2C2E3A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.user-info a:hover {
    color: #334155;
    text-decoration: none;
}

.section {
    background-color: #FFFFFF;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: #2C2E3A;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #F1F3FA;
    padding-bottom: 0.5rem;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.thumbnail-wrapper {
    position: relative;
    background-color: #F1F3FA;
    border-radius: 8px;
    overflow: hidden;
}

.thumbnail-container {
    aspect-ratio: 16/9;
    position: relative;
    background-color: #F1F3FA;
    border: 2px dashed #3DA1C4;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-container.drag-over {
    border-color: #334155;
    background-color: rgba(90, 49, 244, 0.1);
}

.thumbnail-container.has-image {
    border-style: solid;
}

.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-container.has-image img {
    opacity: 1;
}

.upload-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #3DA1C4;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.thumbnail-controls {
    padding: 1rem;
    background-color: #FFFFFF;
    border-radius: 0 0 8px 8px;
}

.file-name {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #2C2E3A;
    word-break: break-word;
}

.file-name-input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #3DA1C4;
    border-radius: 4px;
    font-size: 14px;
}

.file-input {
    display: none;
}

.upload-button, .delete-button {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 4px;
}

.upload-button {
    background-color: #334155;
    color: #FFFFFF;
}

.upload-button:hover {
    background-color: #1e293b;
}

.delete-button {
    background-color: #FF8661;
    color: #FFFFFF;
}

.delete-button:hover {
    background-color: #ff6b3d;
}

.submit-section {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.submit-entries-btn {
    background-color: #FFC145;
    color: #2C2E3A;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-entries-btn:hover {
    background-color: #ffb721;
}

.messages {
    margin-bottom: 2rem;
}

.messages .error {
    background-color: #FF8661;
    color: #FFFFFF;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.messages .success {
    background-color: #3DA1C4;
    color: #FFFFFF;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .thumbnails-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .header img {
        max-width: 200px;
    }

    .section {
        padding: 1rem;
    }

    .submit-section {
        padding: 1rem;
    }
}

/* Confirmation Page Styles */
.confirmation-box {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
}

.confirmation-box h2 {
    color: #2C2E3A;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.submission-summary {
    background-color: #F1F3FA;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
}

.submission-summary h3 {
    color: #2C2E3A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.section-counts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 300px;
    margin: 0 auto;
}

.section-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-label {
    font-weight: 600;
    color: #2C2E3A;
}

.count {
	color: #334155;
	font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.action-button {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-button.upload {
    background-color: #334155;
    color: #FFFFFF;
}

.action-button.upload:hover {
    background-color: #1e293b;
    text-decoration: none;
    color: #FFFFFF;
}

.action-button.home {
    background-color: #F4A261;
    color: #FFFFFF;
}

.action-button.home:hover {
    background-color: #f2894d;
    text-decoration: none;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .confirmation-box {
        margin: 1rem;
        padding: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

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

/* Contest Info */
.contest-info {
    margin: 1rem 0;
    text-align: center;
}

.contest-dates {
    font-size: 1.1rem;
    color: #3DA1C4;
    margin-bottom: 1rem;
}

.contest-description {
    background-color: #F1F3FA;
    padding: 1rem;
    border-radius: 8px;
    text-align: left;
    margin: 1rem auto;
    max-width: 800px;
}

/* Admin Contest Management */
.admin-dashboard {
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.admin-dashboard h2 {
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

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

.stat-box {
    background-color: #F1F3FA;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.stat-box .stat-value {
	font-size: 2.5rem;
	font-weight: bold;
	color: #334155;
	margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: #2C2E3A;
    font-weight: 500;
}

.action-panel {
    margin-top: 2rem;
}

.action-panel .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-upcoming {
    background-color: #F1F3FA;
    color: #2C2E3A;
}

.status-open {
    background-color: #3DA1C4;
    color: white;
}

.status-closed {
    background-color: #FFC145;
    color: #2C2E3A;
}

.status-judging {
    background-color: #F4A261;
    color: white;
}

.status-completed {
    background-color: #334155;
    color: white;
}

/* Judge interface */
.judge-interface {
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.photo-card {
    background-color: #F1F3FA;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.photo-card .photo-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.photo-card .photo-details {
    padding: 1rem;
}

.photo-card .photo-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2C2E3A;
}

.photo-card .photo-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.photo-actions {
    display: flex;
    gap: 0.5rem;
}

.photo-actions button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-approve {
    background-color: #3DA1C4;
    color: white;
}

.btn-approve:hover {
    background-color: #2d8aa9;
}

.btn-reject {
    background-color: #FF8661;
    color: white;
}

.btn-reject:hover {
    background-color: #ff6b3d;
}

.btn-award {
    background-color: #FFC145;
    color: #2C2E3A;
}

.btn-award:hover {
    background-color: #ffb721;
}

/* User Management Styles */
.user-filters {
    background-color: #F1F3FA;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.user-filters .btn-group {
    display: flex;
    gap: 0.5rem;
}

.user-filters .search-box {
    flex-grow: 1;
    max-width: 300px;
}

.user-filters input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-table th {
	background-color: #334155;
	color: white;
	padding: 1rem;
	text-align: left;
	font-weight: 600;
}

.user-table td {
    padding: 1rem;
    border-bottom: 1px solid #F1F3FA;
}

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

.user-table .user-role {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-table .role-admin {
    background-color: #334155;
    color: white;
}

.user-table .role-judge {
    background-color: #F4A261;
    color: white;
}

.user-table .role-user {
    background-color: #3DA1C4;
    color: white;
}

.user-table .user-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-table .status-active {
    background-color: #3DA1C4;
    color: white;
}

.user-table .status-inactive {
    background-color: #FF8661;
    color: white;
}

.user-actions form {
    margin-bottom: 0.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
	display: block;
	padding: 0.5rem 1rem;
	background-color: white;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #334155;
	text-decoration: none;
	transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #F1F3FA;
}

.pagination .active .page-link {
    background-color: #334155;
    color: white;
    border-color: #334155;
}

.pagination .disabled .page-link {
    color: #999;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #F4A261;
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #f2894d;
    color: white;
    text-decoration: none;
}

.btn-warning {
    background-color: #FF8661;
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-warning:hover {
    background-color: #ff6b3d;
    color: white;
    text-decoration: none;
}

.btn-info {
    background-color: #3DA1C4;
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-info:hover {
    background-color: #2d8aa9;
    color: white;
    text-decoration: none;
}

.btn-success {
    background-color: #334155;
    color: white;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-success:hover {
    background-color: #1e293b;
    color: white;
    text-decoration: none;
}

/* Responsive adjustments for user management */
@media (max-width: 1024px) {
    .user-table {
        display: block;
        overflow-x: auto;
    }
    
    .user-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-filters .search-box {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .user-actions {
        display: flex;
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 1.5rem;
}

.logo {
    flex: 1;
    max-width: 300px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.main-nav {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 1rem;
    width: 100%;
}

.user-info {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    padding: 8px 15px;
    border-radius: 0;
    font-size: 0.9rem;
    z-index: 10;
}

.user-info span {
    font-weight: 600;
    color: #2C2E3A;
}

.user-info a {
    display: inline-block;
    margin-left: 8px;
    color: #2C2E3A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.user-info a:hover {
    color: #334155;
    text-decoration: none;
}

.admin-link, .judge-link {
    background-color: transparent;
    color: #2C2E3A !important;
    padding: 2px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 8px;
}

.admin-link:hover, .judge-link:hover {
    background-color: #F1F3FA;
    color: #334155 !important;
    text-decoration: none !important;
}

.logout-link {
    background-color: transparent;
    color: #2C2E3A !important;
    padding: 2px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.logout-link:hover {
    background-color: #F1F3FA;
    color: #FF8661 !important;
    text-decoration: none !important;
}

.login-button {
    background-color: transparent;
    color: #2C2E3A;
    padding: 2px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.login-button:hover {
    background-color: #F1F3FA;
    color: #334155;
    text-decoration: none;
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-info {
        position: relative;
        width: 100%;
        border-radius: 4px;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .logo {
        margin: 1rem auto;
    }
    
    .main-nav {
        justify-content: center;
    }
}

/* Homepage specific styles */
.main-links {
    padding: 15px 0;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.main-links a {
	margin-right: 10px;
	color: #334155;
	font-weight: 500;
	transition: color 0.3s ease;
}

.main-links a:hover {
    color: #FF8661;
    text-decoration: none;
}

@media (max-width: 768px) {
    .main-links {
        text-align: center;
        width: 100%;
    }
}

/* Add new destructive button style */
.btn-destructive {
    background-color: #dc3545 !important;
    color: white !important;
    border: none !important;
    font-weight: bold !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    min-width: 100px !important;
    max-width: 150px !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.btn-destructive:hover {
    background-color: #bd2130 !important;
    color: white !important;
    text-decoration: none !important;
}

/* Danger button override */
.btn-danger {
    background-color: #dc3545 !important;
    color: white !important;
}

.btn-danger:hover {
    background-color: #bd2130 !important;
    color: white !important;
    text-decoration: none !important;
}