﻿@font-face {
	font-family:'DIN Pro';src:url("../font/HostGrotesk-Medium.ttf");font-weight:bold;font-style:normal;
}
@font-face {
	font-family:'Nunito';src:url("../font/HostGrotesk-Bold.ttf");font-weight:bold;font-style:bold;
}

body {
	font-family: 'DIN Pro', sans-serif;
	width: 100%;
	background: #EFEAE0;
	margin-top: 0;
	color: #241F21;
}

.dataTables_wrapper, .simplebar-content, .simplebar-content-wrapper {
	background: #EFEAE0;
}

/* Container & Card Styling to match Olympiad Theme */
.container {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	padding: 24px;
	margin-top: 20px;
	margin-bottom: 20px;
}

table.dataTable {
	width: 100% !important;
	border-collapse: collapse !important;
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}

table.dataTable.display th {
	font-family: 'Nunito', sans-serif;
	cursor: pointer;
	font-size: 18px; 
	color: #241F21;
	font-weight: 800;
	border-bottom: 2px solid #D4D1CB;
	padding: 12px 16px;
	background: #F5F2EC;
}

table.dataTable.display tbody td {
	font-family: 'DIN Pro', sans-serif;
	cursor: pointer;
	font-size: 16px; 
	color: #241F21;
	font-weight: 600;
	padding: 14px 16px;
	border-bottom: 1px solid #E5E0D5;
	background: transparent;
}

table.dataTable.display tbody td a {
	font-family: 'Nunito', sans-serif;
	color: #241F21;
	text-decoration: none;	
	font-weight: 800;
}

table.dataTable.display tbody td a:hover {
	color: #E9841D;
}

/* Cohesive warm hover state */
table#players.dataTable tbody tr:hover, 
table.dataTable.display tbody tr:hover {
  background-color: #E5E0D5 !important;
}

table#players.dataTable tbody tr:hover > .sorting_1 {
  background-color: #E5E0D5 !important;
}

.simplebar-track.simplebar-vertical {
	background-color: #D9D9D9;
}

.simplebar-scrollbar::before {
  background-color: #FAA624;
  z-index: 1;
}

.view_item1 {
	cursor: pointer; 
	height: 100%;
	width: 100%;
	font-style: normal;
	font-family: 'DIN Pro', sans-serif;
}

table.dataTable tbody tr, 
table.dataTable.display tr td, 
table.dataTable.display tbody tr.odd > .sorting_1, 
table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.stripe tbody tr.odd, 
table.dataTable.display tbody tr.odd {
	background: #ffffff;
	color: #241F21;
}

table.dataTable.display tbody tr.even {
	background: #FAFAF7;
}

input {
	max-width: 120px;
	background: #ffffff;
	border: 1px solid #D4D1CB;
	border-radius: 6px;
	padding: 6px 10px;
	margin-right: 20px;
	font-family: 'DIN Pro', sans-serif;
}

.buttonz {
	color: #241F21;
	border: 1px solid #D4D1CB;
	background-color: #D4D1CB;
	font-size: 14px;
	padding: 8px 20px;
	display: inline-block;
	margin-bottom: 20px;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	border-radius: 6px;
	margin: 10px;
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	transition: all 0.2s ease;
}

.buttonz:hover {
	background-color: #C5C1B8;
}

.activeb {
	background-color: #E9841D !important;
	color: #ffffff !important;
	border-color: #E9841D !important;
	font-weight: bolder;
}

.numberCircle {
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    border: 2px solid #241F21;
	background-color: #ffffff;
	display: inline-block;
    color: #241F21;
    font-weight: 700;
}

.wcirc {
    width: 8px;
    height: 8px;
    line-height: 8px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid #b4b4b4;
	background-color: #ffffff;
	display: inline-block;
	margin-right: 4px;
	vertical-align: middle;
}

.bcirc {
    width: 8px;
    height: 8px;
    line-height: 8px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid #b4b4b4;
	background-color: #241F21;
	display: inline-block;
	margin-right: 4px;
	vertical-align: middle;
}

.fed_name {
	font-weight: bolder;
	font-size: 20px;
	border: none;
	line-height: 25px;
}

#pairs tbody tr td .fed_name {
	color: #241F21;
	font-size: 18px;
	font-weight: bolder;
	font-family: 'Nunito', sans-serif;
}

.total_score {
	font-family: 'Nunito', sans-serif;
	font-size: 21px;	
}

h4 {
	font-size: 21px;
	font-family: 'Nunito', sans-serif;
	color: #241F21;
}

strong {
	font-family: 'Nunito', sans-serif;
}

.smp tr td {
	border-bottom: 1px solid #33312f;
	font-family: 'DIN Pro', sans-serif;
}

.smp tr td a {
	font-family: 'Nunito', sans-serif;
	text-decoration: none;
}

.main_title {
	background-color: #241F21;
	min-height: 80px;
	font-family: 'Nunito', sans-serif;
	color: #ffffff;
	font-size: 24px;
	padding: 20px;
	border-radius: 8px 8px 0 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
	.container {
		padding: 10px;
		margin: 0;
		border-radius: 0;
	}
	
	table.dataTable.display tbody td, table.dataTable.display th {
		font-family: 'Nunito', sans-serif;
		background: transparent;
		cursor: pointer;
		font-size: 12px; 
	}
	
	input {
		max-width: 80px;
		background: #ffffff;
		border: 1px solid #b4b4b4;
		margin-right: 10px;
	}
	
	.dataTables_wrapper .dataTables_filter {
	  float: right;
	  text-align: right;
	  font-size: 12px; 
	}
	
	table.dataTable.display tbody td, table.dataTable.display th, table.dataTable.display tbody td a {
		font-family: 'DIN Pro', sans-serif;
		cursor: pointer;
		font-size: 12px; 
		color: #241F21;
		font-weight: bold;
		padding: 8px 6px;
	}
	
	table.dataTable.display th {
		font-size: 11px;
		line-height: 12px;
		padding: 8px 6px;
	}
	
	.buttonz {
		color: #241F21;
		border-color: #D4D1CB;
		background-color: #D4D1CB;
		font-size: 12px;
		padding: 6px 10px;
		margin: 4px;
	}
	
	.activeb {
		background-color: #E9841D !important;
		color: #ffffff !important;
	}
	
	.fed_name {
		font-weight: bolder;
		font-size: 12px;
		border: none;
	}

	#pairs tbody tr td .fed_name {
		color: #241F21;
		font-size: 12px;
		font-weight: bolder;
		font-family: 'Nunito', sans-serif;
	}

	.total_score {
		font-family: 'Nunito', sans-serif;
		font-size: 14px;	
		padding-left: 3px;
		padding-right: 3px;
		font-weight: 400;
	}
	
	.main_title {
		background-color: #241F21;
		min-height: 40px;
		font-family: 'Nunito', sans-serif;
		color: #ffffff;
		font-size: 16px;
		padding: 10px;
	}
	
	.numberCircle {
		width: 20px;
		height: 20px;
		line-height: 20px;
		border-radius: 14px;
		text-align: center;
		font-size: 9px;
		border: 2px solid #666;
		background-color: #ffffff;
		display: inline-block;
	}
}

@media (max-width: 330px) {
	img {
		display: none;
	}
}