/* Claims Calculator Style */

section.claims-calculator-banner {
    padding: 5em 0 7em;
    background: url(/wp-content/uploads/2024/10/claims_calculator_banner_img.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.claims-calculator-banner h1 {
    color: #006D67;
    font-size: 2.675rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.claims-calculator-banner h2 {
    color: #11A082;
	font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.claims-calculator-banner p {
    font-size: 1rem;
    line-height: 1.4em;
    margin-bottom: 20px;
}

.claims-calculator-banner p.our-claims {
    color: #24B19E;
    font-size: 0.875rem;
}

.claims-calculator-banner p.our-claims strong {
    color: #444444;
}

.claims-calculator-banner a.btn.btn-primary {
    margin-top: 20px;
}

.down-arrow {
    position: absolute;
    bottom: 40px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: calc(50% - 35px);
    padding: 17px;
    background-color: #2ab3a3;
    border-radius: 50%;
    border: 4px solid #fff;
}

.section-heading-block {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.section-heading-block h3 {
    font-size: 1.75rem;
    color: #006D67;
    margin-bottom: 15px;
}

.section-heading-block p.subtitle {
    color: #11A082;
    margin-bottom: 15px;
    font-size: 1.125rem;
}

.section-heading-block p {
    font-size: 1rem;
    line-height: 1.4em;
}

.help-further {
    text-align: center;
    margin-top: 9em;
    margin-bottom: 3em;
}

.help-further h3 {
    color: #00A884;
    font-weight: 600;
    margin-bottom: 15px;
}

.help-further p {
    line-height: 1.4em;
    margin-bottom: 40px;
    color: #42341B;
    font-weight: 600;
}

.help-further .btn {
    margin: 0 25px;
    display: inline-flex;
    align-items: center;
}

.help-buttons a:first-child img {
    width: 44px;
}

.help-buttons a:last-child img {
    width: 34px;
}

.help-buttons a img {
    margin-right: 8px;
}

.help-buttons a.btn.btn-primary, 
.help-buttons a.btn.btn-primary {
    background-color: #FA4214;
    border-color: #FA4214;
    color: #fff;
}

.help-buttons a.btn.btn-primary.bg-green, 
.help-buttons a.btn.btn-primary.bg-green:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.help-buttons a.btn:hover {
    opacity: 0.9;
}

.form-section p {
    color: #1B3542;
    text-align: center;
    max-width: 70%;
    margin: 0 auto 20px;
}

.form-section p span {
    color: #11A082;
}

.form-section {
    background-color: #EAF9FC;
    padding: 20px 20px 50px;
    border-radius: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.form-field-wrapper {
    display: flex;
    margin-left: -3em;
    margin-bottom: 10px;
    position: relative;
}

.field-icon {
    background-color: #1B3542;
    flex: 0 0 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-field-wrapper.injury-type .field-icon {
    border-top-left-radius: 30px;
}

.form-field-wrapper.injury-type .form-field {
    border-top-right-radius: 30px;
}

.form-field {
    background-color: #24B19E;
    padding: 20px 30px 20px;
    flex: 0 0 85%;
}

.field-icon img {
    width: 50px;
}

.form-field-wrapper.recovery-time .field-icon {
    border-bottom-left-radius: 30px;
}

.form-field-wrapper.recovery-time .form-field {
    border-bottom-right-radius: 30px;
}

.form-field select,
.form-field input {
    border: 0;
    height: 45px;
    padding: 0 15px;
    color: #919191;
    border-radius: 6px;
    font-size: 14px;
}

.form-field input::placeholder {
    color: #ccc;
    font-size: 1.25rem;
}

.form-field label {
    color: #fff;
}

.ss-single {
    font-size: 15px;
}

/* .ss-list > div:first-child {
    font-size: 12px;
    opacity: 0.5;
    pointer-events: none;
} */

.step-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    right: 24px;
    top: calc(50% - 18px);
    background-color: #fff;
    border-radius: 50%;
    border: 4px solid #1B3542;
    text-align: center;
}

.step-icon img {
    width: 25px;
    position: relative;
    top: 1px;
    display: none;
}

.show-check .step-icon img {
    display: inline-block;
}

.show-check .check-icon {
    display: inline-block;
}

input[type="number"] {
    text-align: center;
    display: flex;
}

input#injuryAge, input#injuryAge::placeholder {
    font-size: 30px;
    background-color: white;
    color: #BEBEBE;
    width: 150px;
    text-align: center;
    padding-left: 0;
}

input[type="number"]::placeholder {
    font-size: 2.75rem;
    top: 10px;
    position: relative;
}

select:focus-visible,
input:focus-visible {
    outline: 0;
}

.gender-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #DCDCDC;
    padding: 8px 4px;
    border-radius: 30px;
    width: 300px;
}

.gender-label {
    font-size: 18px;
    color: white;
    margin-right: 10px;
}

.gender-option {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    flex: 1;
    background: white;
    border-radius: 30px;
}

.gender-option input[type="radio"] {
    display: none;
}

.gender-option label {
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    background-color: white;
    color: #555;
    display: inline-block;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
    margin-bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 13px;
}

.gender-option input[type="radio"]:checked+label {
    background-color: #FA4214;
    color: white;
}

/* Default state for female label */
.female label {
    background-color: #11A082;
    color: #fff;
}

#male:checked ~ .female label {
    background-color: #fff !important;
    color: #11A082;
}

/* Initially show the white icons and hide the default icons */
.female-icon-white, .male-icon-default {
    display: inline-block;
}

.female-icon-default, .male-icon-white {
    display: none;
}

/* Reset male icons when female is selected */
#female:checked ~ .male label .male-icon-white {
    display: inline-block;
}

#female:checked ~ .male label .male-icon-default {
    display: none;
}

/* When male is selected, hide the white icon and show the default icon */
#male:checked + label .male-icon-white {
    display: inline-block;
}

#male:checked + label .male-icon-default {
    display: none;
}

/* Reset female icons when male is selected */

#male:checked ~ .female label .female-icon-white {
    display: inline-block;
}

#male:checked ~ .female label .female-icon-default {
    display: none;
}

.gender-option.male label {
    background-color: #fff;
}

.gender-option label img {
    width: 16px;
    margin-right: 5px;
}

.date-container,
.date-field {
    display: flex;
    align-items: center;
}

.date-field input {
    width: 48px;
    height: 34px;
    text-align: center;
    border: none;
    border-radius: 5px;
    margin: 0 5px;
    padding: 0;
    font-size: 30px;
    background-color: white;
    color: #BEBEBE;
}

.date-field input.year {
    width: 82px;
}

.date-field input::placeholder {
    font-size: 30px;
}

.date-separator {
    font-size: 20px;
    color: white;
}

/* Slider Range */

.slider-container {
    width: 80%;
    text-align: center;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px !important;
    background-color: white;
    border-radius: 5px;
    outline: none;
    margin-bottom: 12px;
    padding: 0 !important;
}

/* Custom handle */
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #F44336;
    /* Red */
    cursor: pointer;
    border: 3px solid white;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #F44336;
    cursor: pointer;
    border: 3px solid white;
}

/* Range value labels */
.range-labels {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 14px;
}

/* /Slider Range */

span.date-format-text {
    color: #fff;
    margin-left: 3px;
    margin-right: 12px;
}

.permanent-injury {
    position: absolute;
    right: 250px;
    top: 15px;
    color: #fff;
    font-size: 14px;
}

.permanent-injury input[type="checkbox"] {
    position: relative;
    top: 1px;
}

.form-field-wrapper.recovery-time label span {
    color: #00524e;
}

.form-action {
    margin-left: -3em;
}

.annual-salary {
    display: none;
}

.recovery-time:not(.show-recovery) {
    opacity: 0.6;
    pointer-events: none;
}

.calculate-injury button {
    display: flex;
    align-items: center;
    background-color: #1B3542;
    color: #fff;
    height: 80px;
    padding: 0 10px;
    border-radius: 45px;
}

.calculate-injury button img {
    width: 40px;
}

.calculate-injury button {
    display: flex;
    align-items: center;
    background-color: #1B3542;
    color: #fff;
    height: 80px;
    padding: 0 70px 0 3px;
    border-radius: 45px;
    margin: 40px auto 0;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.calculate-injury button img {
    width: 40px;
}

.calculate-injury button span {
    background-color: #11A082;
    height: 70px;
    border-radius: 45px;
    padding: 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    margin-right: 50px;
}

.calculate-injury button span {
    transform: translateX(0px);
    transition: 0.5s
}
.calculate-injury button:hover span {
    transform: translateX(10px);
}

.calculate-injury button.calculating span {
    transform: translateX(158px);
}

.calculate-injury {
    position: relative;
}

.calculate-injury span.back-line {
    position: absolute;
    height: 2px;
    width: 80%;
    background-color: #1B3542;
    top: 50%;
    left: 9%;
}

.compensation-result {
    background-color: #11A082;
    border-radius: 30px;
    padding: 30px;
    max-width: 70%;
    margin: 30px auto 40px;
}

.compensation-result h3 {
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.compensation-result p {
    color: #A9FFC4;
    line-height: 1.4em;
    max-width: 100%;
}

.compensation-result .injury-type {
    display: flex;
    justify-content: center;
}

.compensation-result .type {
    background-color: #1B3542;
    color: #fff;
    padding: 16px 40px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.compensation-result .type-name {
    background-color: #fff;
    color: #11A082;
    flex: 1;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 16px 40px;
    text-align: center;
}

span.bullet {
    width: 14px;
    height: 14px;
    display: inline-block;
    background-color: #fff;
    border-radius: 50%;
    border: 3px solid #11A082;
    position: relative;
    top: 1px;
    margin-right: 10px;
}

.estimated-value-block {
    margin-top: 12px;
}

.estimated-value-block .info-text {
    background-color: #1B3542;
    padding: 14px 50px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.estimated-value-block .info-text p {
    margin-bottom: 0;
    color: #fff;
}

.estimated-value {
    background-color: #fff;
    padding: 20px 30px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.value-range {
    display: flex;
    align-items: center;
}

.value-text {
    margin-right: 15px;
}

.value-range>div {
    color: #11A082;
    font-size: 1.325rem;
    letter-spacing: -1px;
}

span.value-separator {
    width: 6px;
    height: 2px;
    background-color: #1B3542;
    margin: 7px 9px 0 16px !important;
}

.value-range span.symbol {
    color: #1B3542;
    font-weight: bold;
    font-size: 1.75rem;
    margin: 0 10px;
}

.take-claim-btn {
    text-align: center;
    margin-top: 25px;
}

.take-claim-btn a.btn.btn-primary {
    border-color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
}

.take-claim-btn a.btn.btn-primary:hover {
    border-color: #FA4214;
}

.reset-reload {
    display: flex;
    justify-content: center;
}

.reset-reload-content {
    display: inline-flex;
    background-color: #24B19E;
    border-radius: 30px;
    padding: 18px 40px;
    align-items: center;
    position: absolute;
}

.reset-reload-icons {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.reset-reload-content a {
    color: #fff;
}

.reset-reload-icons>div img {
    border-radius: 50%;
    width: 30px;
    position: relative;
    top: -1px;
    left: 1px;
}

.reset-reload-icons>div {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 4px solid #fff;
}

.reset-reload-icons>div.reset {
    margin-right: -4px;
}

.reset-reload-icons>div.reload {
    margin-left: -4px;
}

.reset-reload-icons>div.check {
    background-color: #D8D8D8;
}

span.no-result {
    font-size: 13px;
    line-height: 1.2;
    display: block;
    font-weight: bold;
    color: red;
}

@media (max-width:768px){
    .gender-container {
        width: auto;
    }
    
    .form-field {
        padding: 10px 15px;
        flex: 0 0 90%;
    }
    
    .form-field-wrapper {
        margin-left: -30px;
        margin-right: -30px;
    }
    
    .step-icon {
        width: 30px;
        height: 30px;
        top: 10px;
        right: -20px;
        border-width: 3px;
    }
    
    
    .step-icon img {
        width: 15px;
        top: -5px;
    }
    
    select#recoveryTime {
        width: 100%;
    }
    
    section.claims-calculator-banner {
        background: none;
    }
    
    a.btn.btn-primary {
        margin: auto;
        display: flex;
        text-align: center;
        justify-content: center;
    }
    
    .form-section p {
        max-width: 100%;
        line-height: 1.4em;
        font-size: 1rem;
    }
    
    .compensation-result {
        max-width: calc(100% + 60px);
        margin-left: -30px;
        margin-right: -30px;
    }
    
    .form-action {
        margin: auto -30px;
    }
    
    .calculate-injury button span {
        font-size: 18px;
        min-width: 140px;
        padding: 0 20px;
        line-height: 1.2;
    }
    
    .compensation-result .injury-type {
        flex-direction: column;
    }
    
    .compensation-result .type, .compensation-result .type-name {
        border-radius: 0;
    }
    
    .compensation-result .type {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    
    .compensation-result .type-name {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    
    .estimated-value {
        flex-direction: column;
        padding: 10px;
    }

    .value-range>div {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .value-range span.symbol {
        margin: 0 5px;
    }    
    .estimated-value-block .info-text p {
        font-size: 14px;
    }
    
    .permanent-injury {
        position: relative;
        min-width: 300px;
        right: 250px;
        top: 105px;
        font-size: 15px;
    }
    
    .field-icon img {
        max-width: 25px;
    }
    
    span.date-format-text {
        font-size: 14px;
    }    
    .form-field-wrapper.injury-duration .form-field {
        padding-bottom: 60px;
    }
    
    .reset-reload-content {
        max-width: 90%;
        padding: 15px;
    }    
    .ss-single {
        line-height: 1.2;
    }    
}


/* Medical Negligence Quiz */
.medical-negligence-quiz section.claims-calculator-banner {
    background: url(/wp-content/uploads/2025/12/Quiz-Banner.jpg) center / cover;
}

.medical-negligence-quiz .section-heading-block {
    max-width: 1120px;
}

.medical-negligence-quiz .form-section .form-title {
    max-width: 90%;
}

.medical-negligence-quiz .form-section {
    max-width: 1040px;
}

.medical-negligence-quiz .input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.medical-negligence-quiz .input-container>div {
    display: flex;
    align-items: center;
    gap: 10px;
	flex-direction: row-reverse;
}

.medical-negligence-quiz .input-container label {
    margin-bottom: 0;
}

.medical-negligence-quiz input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 43px;
    border: 4px solid #ff5722; /* orange border */
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: 0.2s ease;
    position: relative;
}

.medical-negligence-quiz input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    background: #ff5722;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.medical-negligence-quiz form-field {
    padding: 20px 30px 25px;
}

.medical-negligence-quiz form-field label {
    color: #fff;
    margin-bottom: 15px;
}

.medical-negligence-quiz .field-icon img {
    width: 35px;
}

.medical-negligence-quiz .form-field-wrapper:first-child .field-icon {
    border-top-left-radius: 30px;
}

.medical-negligence-quiz .form-field-wrapper:first-child .form-field {
    border-top-right-radius: 30px;
}

.medical-negligence-quiz .form-field-wrapper:last-child .field-icon {
    border-bottom-left-radius: 30px;
}

.medical-negligence-quiz .form-field-wrapper:last-child .form-field {
    border-bottom-right-radius: 30px;
}

.medical-negligence-quiz .form-field label strong {
    color: #1b3542;
}

.medical-negligence-quiz .form-field label {
    color: #fff;
    margin-bottom: 14px;
}

.medical-negligence-quiz .input-container>div label {
    margin-bottom: 0;
    font-weight: 600;
}

.medical-negligence-quiz .claims-calculator-banner h2 {
    margin-bottom: 18px;
}

.medical-negligence-quiz .form-action {
    margin-left: 0;
	margin-bottom: 3.5em;
}

.medical-negligence-quiz .green-line {
    height: 15px;
    background-color: var(--greenish-blue-color);
    margin-bottom: 10px;
}

.medical-negligence-quiz .compensation-result {
    max-width: 85%;
}

.medical-negligence-quiz .take-claim-btn {
    display: flex;
	justify-content: space-around;
}

.medical-negligence-quiz .compensation-result {
	display: none;
}

.medical-negligence-quiz .reset-reload-icons>div.check {
    cursor: auto;
}

.medical-negligence-quiz .down-arrow {
    cursor: pointer;
}

.reset-reload-content a:hover {
    text-decoration: none;
}

.medical-negligence-quiz .form-field-wrapper .information.box {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    position: absolute;
    background-color: #fff;
    padding: 1em;
    border-radius: 10px;
    max-width: 60%;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    top: -4em;
    right: 1em;
    box-shadow: rgb(0 0 0 / 16%) 0px 8px 24px;
    width: 540px;
}

.medical-negligence-quiz .form-field-wrapper .information.box.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* slide up */
}

.medical-negligence-quiz .form-field-wrapper .information.box h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.medical-negligence-quiz .form-field-wrapper .information.box p {
    margin: 0;
    line-height: 1.3em;
    font-size: 0.95rem;
    max-width: 100%;
    text-align: left;
}

.medical-negligence-quiz .form-field label, 
.medical-negligence-quiz .field-icon {
	cursor: pointer;
}

@media (max-width: 767px) {
	
	.claims-calculator-banner h1 {
		font-size: 1.75rem;
	}
	
	.claims-calculator-banner h2 {
		font-size: 1.375rem;
	}
	
	.medical-negligence-quiz section.claims-calculator-banner {
		background: none !important;
	}
	
	.medical-negligence-quiz .form-field-wrapper {
        margin-left: -30px;
        width: calc(100% + 50px);
    }
	
	.medical-negligence-quiz .form-field label {
		font-size: 1rem;
		margin-bottom: 8px;
		line-height: 1.4em;
	}

	.medical-negligence-quiz .form-field {
		padding: 10px 25px 10px 10px;
	}
	
	.medical-negligence-quiz input[type="radio"] {
		width: 30px;
		height: 37px;
	}
	
	.field-icon {
		padding: 0 10px;
	}

	.medical-negligence-quiz .form-action {
		margin: 0 0 40px;
	}

	.medical-negligence-quiz .form-action span {
		font-size: 1rem;
		padding: 10px;
	}

	.help-further {
		margin-top: 6em;
	}

	.help-buttons .bg-green {
		margin-top: 12px !important;
	}
	
	.medical-negligence-quiz .compensation-result {
		max-width: 100%;
		margin: 0;
		margin-bottom: 30px;
		padding: 20px 15px 20px;
	}

	.medical-negligence-quiz .take-claim-btn {
		display: block;
	}

	.medical-negligence-quiz .take-claim-btn a.btn {
		font-size: 0.75rem;
		margin-bottom: 10px;
	}
	
	.medical-negligence-quiz .form-field-wrapper .information.box {
		max-width: 100%;
		right: -5px;
		top: -3em;
	}
}
/* /Medical Negligence Quiz */