#botao_tabela,
#botao_retrospecto {
	background-color: var(--color2);
	color: var(--color1);
	font-weight: bold;
	cursor: pointer;
	margin: 20px;
	border-radius: 10px;
	height: 100%;
	width: 30%;
	min-height: 50px;
	line-height: 50px;
}

body {
	color: white !important;
}


#myChart {
	padding: 0 100px 60px 100px;

}


.statusBar.naoIniciado {
	background-color: gray;
	color: white;
}

.statusBar.intervalo {
	background-color: yellow;
	color: black;
}


.statusBar.emAndamento {
	background-color: green;
	color: white;
}

.statusBar.finalizado {
	background-color: royalBlue;
	color: white;
}

.statusBar {
	border-radius: 5px !important;
	/* font-weight:bold; */
}

.bandeira {
	height: 40px;
	width: 60px;
}

.bet_alert {
	font-weight: bold;
	color: red;
}

.sortable::after {
	content: '\025BC';
	padding-left: 5px;
}

.sortable {
	cursor: pointer;
}

.sortable.selected {
	background-color: rgba(208, 208, 208, 0.9) !important;
}

li.regras {
	text-align: start;
	text-indent: 90px;
}

ul {
	list-style-position: inside;
	line-height: 1.6;
}

.apostadores {
	max-width: 500px;
}

.apostasRegistradas {

	padding: 5px;
	border-radius: 5px;
	font-size: 1vw;
}

.no-close .ui-dialog-titlebar-close {
	display: none;
}


.team-flag {
	padding: 5px 0 0 0 !important;
}

.score {
	background-color: rgba(208, 208, 208, 0.7) !important;
	color: darkgreen !important;
}

.special-checkbox {
	margin-left: 10px;
	width: 40px;
	height: 40px;
	opacity: 0.7;
}

.see_bets {
	border-radius: 5px;
	border: 2px dotted var(--color2);
	background-color: var(--color2);
	color: var(--color1);
	cursor: pointer;
	padding: 5px;
}

.see_bets_small {
	border-radius: 5px;
	border: 2px dotted gray;
	background-color: gray;
	color: var(--color1);

	padding: 5px;
	font-size: 70%;
}

.grupoPlacar {
	display: flex;
	flex-direction: column;
}

.extra_see_bets {
	display: flex;
	flex-direction: row;
	width: 250px;
	justify-content: space-between;
	align-items: center;
}

td .extra_see_bets {
	margin: 0 auto;
}

.see_bets:hover {
	opacity: 0.5;
}

#tabela-quadros,
#tabela-resultados {
	display: flex;
	flex-direction: column;
	align-content: center;
	flex-wrap: nowrap !important;
}

.zebra:nth-child(even) {
	background-color: #F5F5F5;
}



#tabela-classificacao,
#tabela-detalhes {
	margin: 10px auto;
	border-collapse: separate;
}

#tabela-classificacao th,
#tabela-detalhes th {
	background-color: rgba(208, 208, 208, 0.5);
	/* color: darkgreen; */
	text-align: center;
	font-size: 1em;
	padding: 5px;
}

#tabela-classificacao td,
#tabela-detalhes td {
	/* background-color: rgba(208,208,208,0); */
	/* color:rgba(208,208,208,0.7); */
	text-align: center;
	font-size: 1em;
	padding: 5px;
	/* box-shadow: 2px 2px 5px #D0D0D0; */
}

.border-cell-right {
	border-radius: 0 10px 10px 0;
}

.border-cell-left {
	border-radius: 10px 0 0 10px;
}

.highlight {
	background-color: gold;
}

.red {
	background-color: rgba(0, 0, 0, 0.05);
}

.green {
	background-color: rgba(0, 255, 0, 0.2) !important;
}

[class*="medal_bg"] .medalha {
	filter: brightness(50);

}

[class*="medal_bg"] a {
	color: white;
	text-decoration: underline;

}

#nome_aposta {
	font-size: 2em;
	color: white;
	font-weight: bold;
	padding-bottom: 60px;
	padding-top: 30px;
	text-align: center;

}

.gold_medal_bg {
	background-color: rgba(252, 204, 18, 1);
	color: white;
}

.silver_medal_bg {
	background-color: rgba(122, 129, 131, 1);
	color: white;
}

.bronze_medal_bg {
	background-color: rgba(134, 107, 66, 1);
	color: white;
}

.select2-selection,
.select2-selection__rendered,
.select2-selection__rendered span,
.select2-results__option {
	/* height:50px !important; */
	min-height: 50px !important;
	line-height: 50px;
	font-size: 1em;
	text-align: center;
	color: black !important;
	/* border: none !important; */
}

.select2-selection__rendered span span {
	display: flex;
	/* vertical-align: middle; */
	padding-left: 10px;
	align-content: center;
	justify-content: center;
	/* line-height: normal; */
}

.select2-selection__rendered span {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;

}

.bandeiraSelect {
	height: 40px;
}

.selectPaises,
.selectEsportes,
input[type='number'],
.customInput {
	width: 250px;
}


input[type='number'],
.customInput {
	border: solid 1px gray;
	border-radius: 5px;
	height: 50px;
	padding: 0 10px;
	box-sizing: border-box;
	font-size: 1em;
	text-align: center;
}

#final {
	height: 60px;
}

.botaoConfirmar,
.botaoConfirmarTodos {
	color: gray;
	background-color: rgba(0, 0, 0, 0);
	cursor: default;
	padding: 0;
}

.botaoReminder {
	color: var(--color1);
	background-color: var(--color2);
	cursor: pointer;
	border-radius: 5px;
	padding: 3px;
}

.botaoConfirmar:hover,
.botaoConfirmarTodos:hover {
	opacity: 1;
}

.botaoConfirmar.habilitado,
.botaoConfirmarTodos.habilitado,
.botaoConfirmar.habilitadoExtra {
	color: white;
	cursor: pointer;
	background-color: green;
	border-radius: 5px;
	padding: 3px;
}

.buttonHolder {
	display: table;
}

.confirmText {
	vertical-align: middle;
	font-weight: bold;
}

.botaoConfirmar.erro {
	color: red;
	cursor: pointer;
}

.botaoConfirmarTodos {
	color: white;
}



.botaoConfirmar.habilitado:hover,
.botaoConfirmar.erro:hover,
.botaoConfirmar.habilitadoExtra:hover {
	opacity: 0.5;
}

#regras {
	color: white;
	font-size: 120%;
	margin: 20px;
}

.regras a {
	color: mistyrose;
}

#regras p {
	padding: 0.8rem 0.8rem 0 0.8rem;
	text-align: left;
	text-indent: 3rem;
	text-align: justify;
	hyphens: auto;
}

#regras .doubleindent {
	text-indent: 5rem;

}

#regras .tripleindent {
	text-indent: 7rem;

}

#regras .low-padding {
	padding-top: 0;
	padding-bottom: 0;
}

.blueButton {
	color: royalBlue;
}

.partida_copa {
	display: flex;
	flex-direction: row;
	flex-wrap: no-wrap;
	align-items: center;
	justify-content: space-between;
}

.score_bet {
	max-width: 70px;
}

.country_name {
	min-width: 200px;
}

.country_name a {
	color: white !important;
	text-decoration: none;
	border-bottom: 1px dotted white;
}

.country_name a:hover {
	border-bottom: 1px solid white;
}

.equis {
	margin: 5px;
	font-weight: bold;
}

.link-retrospecto {
	color: inherit !important;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.link-retrospecto:hover {
	color: #2ecc71 !important;
	text-decoration: underline;
	opacity: 0.8;
}

.pagination_link {
	background-color: white;
	color: #808080;
	font-size: 1.25rem;
	padding: 0.5rem;

}

.pagination_link:disabled {
	color: lightgray;
	cursor: default;
}

.pagination {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	visibility: visible;
	min-height: 50px;
}


.pagination {
	/* display: inline-block; */
	list-style: none;
	font-size: 2vw;

}

.pagination li {
	float: left;

}


#activePage a {
	color: var(--color3) !important;
	background-color: var(--color2);
	border-radius: 5px;
}

.pagination a {
	color: gray;
	float: left;
	padding: 8px 16px;
	text-decoration: none;
}

.pagination a:active {
	color: var(--color2);
}


@media only screen and (max-width: 600px) {
	.partida_copa {
		flex-direction: column;
	}

	#tabela-classificacao td,
	#tabela-detalhes td {
		/* background-color: rgba(208,208,208,0); */
		/* color:rgba(208,208,208,0.7); */
		text-align: right;
	}

	.confirmText {
		display: none;
	}

	.buttonHolder {
		display: flex;
		align-items: center;
	}

	.botaoConfirmar.habilitado {
		align-items: center;
		justify-content: center;
		display: flex;
		flex-direction: column;
	}

	/* idiomas */

	/* .pt  #tabela-classificacao td:nth-child(1):before{ */
	/* content:"Aposta termina em"; */
	/* } */

	/* .en #tabela-classificacao td:nth-child(1):before{ */
	/* content:"Bet ends at"; */
	/* } */

	/* .es #tabela-classificacao td:nth-child(1):before{ */
	/* content:"Apuesta cierra en"; */
	/* } */

	.pt #tabela-classificacao td:nth-child(2):not([colspan]):before {
		/* content:"Data do jogo"; */
		content: "Data estimada";
	}

	.en #tabela-classificacao td:nth-child(2):not([colspan]):before {
		/* content:"Match date"; */
		content: "Estimated date";
	}

	.es #tabela-classificacao td:nth-child(2):not([colspan]):before {
		/* content:"Fecha del partido"; */
		content: "Fecha estimada";
	}

	/* .pt  #tabela-classificacao td:nth-child(3):not([colspan]):before{ */
	/* content:"Grupo"; */
	/* } */

	/* .en #tabela-classificacao td:nth-child(3):not([colspan]):before{ */
	/* content:"Group"; */
	/* } */

	/* .es #tabela-classificacao td:nth-child(3):not([colspan]):before{ */
	/* content:"Grupo"; */
	/* } */






}


#button_wrapper {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: center;
}

.order-meter {
	display: flex;
	flex-direction: column;
	align-items: center;
	align-content: flex-start;
}

/* Responsive Floating Action Button for Confirming All Bets */
.btn-floating-confirm {
	position: fixed;
	bottom: 60px; /* Aligned nicely above the bottom bar */
	z-index: 1000;
	display: none; /* Controlled by JS */
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #2ecc71, #27ae60);
	color: white;
	border: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	outline: none;
	border: 1px solid rgba(255, 255, 255, 0.1);
	width: auto !important;
}

/* Desktop: Compact pill-shaped floating action button holding icon and text */
@media only screen and (min-width: 601px) {
	.btn-floating-confirm {
		right: 30px;
		padding: 8px 16px;
		font-family: inherit;
		font-weight: bold;
		font-size: 0.85rem;
		border-radius: 30px;
		box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
	}
	.btn-floating-confirm .material-icons {
		margin-right: 6px;
		font-size: 1.2rem;
		transition: transform 0.3s ease;
	}
}

/* Mobile: Elegant compact circular bubble holding only icon */
@media only screen and (max-width: 600px) {
	.btn-floating-confirm {
		right: 20px;
		width: 46px;
		height: 46px;
		border-radius: 50%;
		padding: 0;
		box-shadow: 0 4px 10px rgba(39, 174, 96, 0.35);
	}
	.btn-floating-confirm .btn-text {
		display: none; /* Hide label on mobile */
	}
	.btn-floating-confirm .material-icons {
		margin-right: 0;
		font-size: 22px;
	}
}

.btn-floating-confirm:hover {
	transform: scale(1.06) translateY(-3px);
	box-shadow: 0 12px 25px rgba(39, 174, 96, 0.6);
	background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.btn-floating-confirm:hover .material-icons {
	transform: scale(1.15) rotate(-5deg);
}

.btn-floating-confirm:active {
	transform: scale(0.98) translateY(0);
	box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

/* Animations for show/hide */
@keyframes fadeInUpFloating {
	from {
		opacity: 0;
		transform: translateY(20px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.btn-floating-confirm.show-floating {
	animation: fadeInUpFloating 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Table Header Sticky Styling for Desktop */
@media only screen and (min-width: 601px) {
	#tabela-classificacao th {
		position: sticky;
		top: 100px;
		z-index: 20;
		background-color: var(--color2) !important;
		color: var(--color1) !important;
		box-shadow: 0 2px 8px rgba(0,0,0,0.15);
		border-bottom: 2px solid var(--color1) !important;
	}
}

/* Custom Premium Modals */
.custom-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.custom-modal-overlay.show {
	opacity: 1;
	pointer-events: auto;
}

.custom-modal-card {
	background: #1e293b; /* Sleek slate-dark background */
	color: #f8fafc;
	border-radius: 16px;
	padding: 24px;
	width: 90%;
	max-width: 420px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transform: scale(0.9);
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	text-align: center;
}

.custom-modal-overlay.show .custom-modal-card {
	transform: scale(1);
}

.custom-modal-header {
	margin-bottom: 16px;
}

.custom-modal-header .custom-modal-icon {
	font-size: 48px;
	color: #ef4444; /* Vivid red for error */
	margin-bottom: 8px;
	display: inline-block;
}

.custom-modal-header.warning .custom-modal-icon {
	color: #f59e0b; /* Vivid orange for warning */
}

.custom-modal-header.success .custom-modal-icon {
	color: #10b981; /* Vivid green for success */
}

.custom-modal-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
}

.custom-modal-body {
	margin-bottom: 24px;
}

.custom-modal-message {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #cbd5e1;
	margin: 0;
}

.custom-modal-footer {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.custom-modal-btn {
	padding: 10px 24px;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.custom-modal-btn.btn-ok {
	background-color: #ef4444;
	color: white;
}

.custom-modal-btn.btn-ok:hover {
	background-color: #dc2626;
	transform: translateY(-1px);
}

.custom-modal-btn.btn-no {
	background-color: #475569;
	color: #f1f5f9;
}

.custom-modal-btn.btn-no:hover {
	background-color: #334155;
}

.custom-modal-btn.btn-yes {
	background-color: #f59e0b;
	color: white;
}

.custom-modal-btn.btn-yes:hover {
	background-color: #d97706;
	transform: translateY(-1px);
}