@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700');

html, body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body {
	font-family: Poppins, Helvetica, sans-serif !important;
	color: white !important;
	overflow-x: hidden;
	/* background: #7f001f; */
}

p, input, div, button, label {
	font-weight: 600 !important;
}

.bg-voting {
	position: relative;
	width: 100%;
	min-height: 100vh;
	/* background: #7f001f; */
	overflow-x: hidden;
}

@supports (min-height: 100dvh) {
	.bg-voting {
		min-height: 100dvh;
	}
}

.voting-stage {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 0;
	box-sizing: border-box;

	/* background-color: #7f001f; */
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
}

@supports (min-height: 100dvh) {
	.voting-stage {
		min-height: 100dvh;
	}
}

.voting-page {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
	padding: 35px 20px 40px;
	box-sizing: border-box;
}

.voting_top_logo_wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	margin-top: 10px;
}

.voting_top_logo {
	max-width: 280px;
	width: 100%;
	height: auto;
	display: block; 
}

.voting_anniversary_logo {
	max-width: 425px;
	width: 100%;
	height: auto;
	display: block;
	margin-top: -48px;
	z-index: -1;
}

.voting_main_logo {
	max-width: 380px;
	width: 100%;
	height: auto;
	display: block;
	margin-top: -46px; 
}

.voting_form_content {
	width: 100%;
}

.voting_heading_main {
	font-size: clamp(2rem, 4vw, 2.4rem);
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 6px;
	color: #ffe79d;
	text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.voting_heading_sub {
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	font-weight: 700;
	margin-bottom: 18px;
	color: #ffe79d;
}

.voting_input_label {
	font-size: 1.15rem;
	font-weight: 700;
	color: #ffe79d;
	margin-bottom: 10px;
}

.voting_input_wrap {
	margin-bottom: 8px;
	display: flex;
	justify-content: center;
}

.voting_rounded_text_field {
	width: clamp(50px, 70vw, 320px);
	max-width: 430px;
	padding: 12px 16px;
	text-align: center;
	font-size: 1rem;
	font-weight: 700 !important;
	color: #111;
	background: #fff;
	border: 4px solid #e97132;
	border-radius: 0;
	outline: none;
	box-sizing: border-box;
} 

.voting_note {
	font-size: 0.95rem;
	color: #ffe7b8;
	margin-top: 8px;
	margin-bottom: 20px;
}

.radio-group {
	margin-top: 8px;
}

.voting_category_block {
	margin-bottom: 20px;
}

.voting_section_title {
	font-size: 2rem;
	font-weight: 700;
	color: #ffe79d;
	margin-bottom: 16px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.voting_card_row {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 14px;
	margin-bottom: 12px;
	flex-wrap: nowrap;
}

.voting_card_item {
	width: 112px;
	flex: 0 0 112px;
	cursor: pointer;
	margin-bottom: 10px;
}

.voting_card_item input[type="radio"] {
	display: none;
}

.voting_radio_image {
	display: block;
	margin: 0;
	border: 4px solid #ef3a81;
	background: #f4f4f4;
	padding: 0;
	border-radius: 0;
	transition: all 0.2s ease;
	height: 100%;
}

input[type="radio"]:checked + .voting_radio_image {
	border-color: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
	border-radius: 4px;
	transform: scale(1.08);
}

.voting_radio_image img {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
	background: #e9e9e9;
}

.voting_contestant_name {
	background: #05070f;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	padding: 10px 4px;
	line-height: 1.1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	word-break: break-word;
}

.voting_gradient_button {
	position: relative;
	border: 4px solid #f4e1a3 !important;
	border-radius: 999px !important;
	padding: 6px 20px !important;
	width: 240px;
	margin-top: 7px;
	margin-bottom: 20px;
	overflow: hidden;
	color: #ffd978 !important;
	text-shadow: 0 1px 0 rgba(120,70,0,0.35);
	font-weight: 700 !important;
	font-size: 20px;
	text-transform: uppercase;
	background: linear-gradient(
		180deg,
		#ff3a1f 0%,
		#d50012 20%,
		#b30010 50%,
		#c00012 75%,
		#ff5a1f 100%
	) !important;

	box-shadow:
		inset 0 2px 0 rgba(255,255,255,0.15),
		inset 0 -2px 6px rgba(90,0,0,0.35),
		0 4px 12px rgba(0,0,0,0.25);
}

.voting_gradient_button::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	right: 4px;
	bottom: 4px;
	border-radius: 999px;
	background: linear-gradient(
		180deg,
		rgba(255,120,80,0.35) 0%,
		rgba(255,255,255,0.05) 20%,
		rgba(120,0,0,0.08) 100%
	);
	pointer-events: none;
}

.voting_later {
	font-size: 2rem;
	min-height: 50vh;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	text-align: center;
}

@media (min-width: 992px) {
	.voting-page {
		max-width: 540px;
		padding-top: 40px;
	}

	.voting_card_item {
		width: 118px;
		flex: 0 0 118px;
	}

	.voting_radio_image img {
		height: 168px;
	}
}

@media (max-width: 767.98px) {
	.voting-stage {
		min-height: 100vh;
		min-height: 100dvh;
		background-size: cover;
		background-position: center top;
		background-repeat: no-repeat;
	} 

	.voting-page {
		max-width: 100%;
		padding: 26px 16px 28px;
	} 

	.voting_main_logo {
		max-width: 330px;
	}

	.voting_heading_main {
		font-size: 1.8rem;
	}

	.voting_section_title {
		font-size: 1.8rem;
	}

	.voting_card_row {
		gap: 10px;
	}

	.voting_card_item {
		width: 100px;
		flex: 0 0 100px;
	}

	.voting_radio_image img {
		height: 144px;
	}
}

@media (max-width: 420px) {
	.voting-page {
		padding: 24px 12px 26px;
	}

	.voting_top_logo {
		max-width: 200px;
	}

	.voting_anniversary_logo {
		max-width: 310px;
		margin-top: -33px;
	}

	.voting_main_logo {
		max-width: 265px;
		margin-top: -33px;
	}

	.voting_card_row {
		gap: 20px;
	}

	.voting_card_item {
		width: 86px;
		flex: 0 0 86px;
	}

	.voting_radio_image img {
		height: 126px;
	}

	.voting_contestant_name {
		font-size: 0.9rem;
		min-height: 38px;
	}
}

#bg_voting {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%; 
	object-position: center top; 
}