/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#quiz-form {
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 20px;
    counter-reset: my-sec-counter;
}
#quiz-form fieldset {
    padding: 0;
}
#quiz-form fieldset legend::before {
    counter-increment: my-sec-counter;
    content: "" counter(my-sec-counter) ". ";
}
#quiz-form fieldset:not(:last-child) {
    margin-bottom: 60px;
}
#quiz-form fieldset legend {
    font-family: "gilroy-semiBold" !important;
    font-size: 24px;
    color: #0175cf;
}
.inner_lable_data label small {
    color: #4f4f4f;
    font-size: 18px;
    font-family: 'gilroy-regular' !important;
}
.select_areas {
    padding-left: 0px;
    padding-top: 25px;
}
.inner_lable_data {
    padding-left: 30px;
}
.select_areas input {
    border: 1px solid #0175cf !important;
    height: 56px;
    padding: 20px;
    max-width: 648px;
    width: 100%;
    font-size: 20px;
    font-family: 'gilroy-regular' !important;
    box-shadow: none;
    outline: none;
}
.select_areas label {
    width: 100%;
}
.quiz_submit_data input[type="submit"] {
    background-color: #00adee;
    color: #fff;
    border: 2px solid #00adee;
    font-family: 'gilroy-bold' !important;
    font-size: 20px;
    padding: 12px 50px;
    transition: all 0.5s ease-in-out 0s;
}
.quiz_submit_data input[type="submit"]:hover {
	background: #fff;
	color: #00adee;
}
.quiz_bottoms {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.quiz_points {
    color: #00adee;
    font-size: 64px;
    font-family: "gilroy-extraBold" !important;
    display: flex;
    align-items: center;
    gap: 20px;
}
.quiz_points span {
    font-size: 36px;
    color: #fff;
    background: url('./../../../../../wp-content/uploads/2024/09/pointsValueBg-icon.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The container */
.radio_conts {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 30px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Hide the browser's default radio button */
.radio_conts input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #0175cf;
}
/* When the radio button is checked, add a blue background */
.radio_conts input:checked ~ .checkmark {
  background-color: #fff;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the indicator (dot/circle) when checked */
.radio_conts input:checked ~ .checkmark:after {
  display: block;
}
/* Style the indicator (dot/circle) */
.radio_conts .checkmark:after {
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0175cf;
}
.radio_conts input:checked ~ small {
	color: #0175cf;
	font-family: "gilroy-semiBold" !important;
}



@media only screen and (max-width: 1024px) {

#quiz-form fieldset legend {
    font-size: 20px;
}
.quiz_points {
    font-size: 40px;
}
.quiz_points span {
    font-size: 26px;
    width: 50px;
    height: 50px;
}



}


@media only screen and (max-width: 767px) {

#quiz-form fieldset legend {
    font-size: 18px;
}
#quiz-form {
    padding: 50px 20px;
}
.inner_lable_data {
    padding-left: 20px;
}
.radio_conts {
    margin-bottom: 20px;
}
#quiz-form fieldset:not(:last-child) {
    margin-bottom: 20px;
}
.inner_lable_data label small {
    font-size: 16px;
}
.select_areas input {
    margin-bottom: 20px;
    font-size: 18px;
}
.quiz_bottoms {
    flex-direction: column;
    gap: 20px;
}
.quiz_points {
    font-size: 30px;
}
.quiz_submit_data input[type="submit"] {
    font-size: 18px;
    padding: 10px 40px;
}
.quiz_points span {
    font-size: 24px;
}




}
/* Remove default SweetAlert padding */
.mdq-swal-popup {
	padding: 0 !important;
	border-radius: 20px !important;
	width: 420px !important;
}

/* Popup container */
.mdq-popup {
	padding: 32px 28px;
	text-align: center;
	font-family: 'Inter', sans-serif;
}

/* Title */
.mdq-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #111;
}

/* Text */
.mdq-text {
	font-size: 14px;
	color: #555;
	line-height: 1.5;
	margin-bottom: 24px;
}

/* Button row */
.mdq-actions {
	display: flex;
	gap: 14px;
	justify-content: center;
}

/* Buttons */
.mdq-btn {
	border: none;
	padding: 10px 22px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

/* Not Now */
.mdq-btn-light {
	background: #f2f2f2;
	color: #111;
}

.mdq-btn-light:hover {
	background: #e5e5e5;
}

/* Play Now */
.mdq-btn-primary {
	background: #1677ff;
	color: #fff;
}

.mdq-btn-primary:hover {
	background: #0f5ed7;
}
.milk-dairy-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.milk-dairy-popup-inner {
    background: #fff;
    width: 480px;
    max-width: 90%;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.milk-dairy-popup button {
    padding: 10px 18px;
    margin: 8px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.mdq-play-now {
    background: #1677ff;
    color: #fff;
}

.mdq-not-now {
    background: #eee;
}



 .milk-dairy-popup {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.6);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* ===== QUIZ MODAL ===== */
.mdq-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.mdq-modal {
    background: #fff;
    width: 420px;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    font-family: inherit;
}

.mdq-title {
    font-size: 24px;
    font-weight: 700;
    color: #005bbb;
    margin-bottom: 5px;
}

.mdq-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
}

.mdq-field {
    margin-bottom: 18px;
    text-align: left;
}

.mdq-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #333;
}

.mdq-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #f2f2f2;
}

.mdq-primary-btn {
    background: #0066ff;
    color: #fff;
    border: none;
    padding: 12px;
    width: 100%;
    display: block;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.mdq-primary-btn:hover {
    background: #0052cc;
}

.mdq-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
}


/* Overlay */
.mdq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
}

/* Modal */
.mdq-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 420px;
    max-width: 92%;
    border-radius: 18px;
    padding: 28px 26px 30px;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    font-family: Inter, system-ui, sans-serif;
}

/* Timer circle */
.mdq-timer {
    width: 70px;
    height: 70px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 6px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    color: #0b5cff;
    position: relative;
}

/* Question */
.mdq-question {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0 20px;
}

/* Options */
.mdq-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mdq-option {
    display: flex;
    align-items: center;
    padding: 14px;
    border-radius: 10px;
    background: #f3f4f6;
    cursor: pointer;
    transition: 0.2s;
}

.mdq-option:hover {
    background: #e5e7eb;
}

.mdq-option input {
    margin-right: 12px;
}

/* Button */
.mdq-next-btn {
    margin-top: 22px;
    width: 100%;
    background: #0b5cff;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.mdq-next-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


.mdq-result-box {
    background: #f1f3f4;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 16px;
}
.mdq-result-modal {
    max-width: 420px;
    text-align: center;
}

.mdq-result-icon.error {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: #ff4d4f;
    color: #fff;
    font-size: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mdq-result-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mdq-result-box {
    background: #f2f2f2;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.mdq-result-answer span {
    color: #2ecc71;
    font-weight: 700;
}

.mdq-result-modal .mdq-primary-btn {
    max-width: 100%;
    margin-top: 8px;
}
