.plannedText {
    color: #3be8b0;
}

.privacy-policy-link {
    text-decoration: underline;
    font-weight: 600;
}

.privacy-policy-link:hover {
    text-decoration: none;
    color: #5c8aff;
}

.stepper-container {
    width: 100%;
}

.stepper-progress {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
}

.stepper-progress-bar {
    height: 100%;
    width: 0%;
    background: #23b47a;
    border-radius: 5px;
    transition: width 0.3s ease;
}

#stepper-questions p {
    font-weight: bold;
}

.stepper-buttons button>p {
    text-align: center;

}

.stepper-buttons button:has(.qz-answer-emoji)>p {
    text-align: left;
}

.qz-answer-full {
    grid-column: 1 / -1;
}


.stepper-buttons button {
    width: 100%;
    height: 100px;
    background-color: #eee;
    cursor: pointer;
    border-radius: 8px;
    padding: 0px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.stepper-buttons button:hover p {
    color: #fff !important;
}

.stepper-buttons button .qz-answer-emoji {
    flex-shrink: 0;
    padding: 5px;
}

.stepper-buttons button p {
    flex-grow: 1;
}

.qz-answer-emoji {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
}

.stepper-reset {
    background-color: #ff5252 !important;
    color: white;
    border: none;
}

#global-reset,
#global-back {
    width: 42px;
    height: 42px;
    transition: all 0.2s ease;
}

#global-reset:hover {
    transform: rotate(50deg);
}

#global-reset svg,
#global-back svg {
    width: 20px;
    height: 20px;
    transition: all 0.2s ease;
}

#global-reset:hover svg path,
#global-back:hover svg path {
    fill: #fff;
}

.fancyEmoji {
    display: inline-block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.qz-result-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

#global-back-area>#stepper-questions {
    flex-grow: 1
}

#global-back-area>#global-back {
    flex-shrink: 0
}

.centerArea>#stepper-questions {
    text-align: center;
}

.qz-score-gauge-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.qz-score-gauge {
    position: relative;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.qz-score-gauge svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.qz-score-gauge-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 10;
}

.qz-score-gauge-bar {
    fill: none;
    stroke: #23b47a;
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease, stroke 0.3s ease;
}

.qz-score-gauge-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}

.qz-score-gauge-percent-sign {
    font-size: 12px;
    margin-left: 1px;
}

.qz-result-description {
    font-size: 14px;
    font-weight: 500;
    color: #DADADA;
}

@media (min-width: 768px) {
    .qz-result-description {
        font-size: 16px;
    }
}

.qz-score-gauge--great .qz-score-gauge-bar {
    stroke: #23b47a;
}

.qz-score-gauge--good .qz-score-gauge-bar {
    stroke: #f5a623;
}

.qz-score-gauge--review .qz-score-gauge-bar {
    stroke: #ff5252;
}

/* FormBuilder (Lead magnet = Quiz) inside dark quiz result panel */
.lm-quiz-form {
    width: 100%;
}

.lm-quiz-form form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    width: 100%;
}

.lm-quiz-form form > * {
    grid-column: 1 / -1;
    min-width: 0;
}

/* Name | Phone side by side when wrapper classes or field names match */
.lm-quiz-form form > .lm-quiz-col--half,
.lm-quiz-form form > *:has([name="full_name"]),
.lm-quiz-form form > *:has([name="full-name"]),
.lm-quiz-form form > *:has([name="Full Name"]),
.lm-quiz-form form > *:has(#full_name) {
    grid-column: 1;
}

.lm-quiz-form form > *:has([name="phone"]),
.lm-quiz-form form > *:has([name="phone_number"]),
.lm-quiz-form form > *:has([name="phone-number"]),
.lm-quiz-form form > *:has(input[type="tel"]) {
    grid-column: 2;
}

.lm-quiz-form form > .mgn-submit-wrapper,
.lm-quiz-form form > *:has(button[type="submit"]),
.lm-quiz-form form > *:has(input[type="submit"]),
.lm-quiz-form form > *:has(.mgn-submit-button) {
    grid-column: 1 / -1;
    order: 999;
}

.lm-quiz-form .form-label,
.lm-quiz-form label:not(.form-check-label) {
    display: block;
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.lm-quiz-form .form-control,
.lm-quiz-form input[type="text"],
.lm-quiz-form input[type="tel"],
.lm-quiz-form input[type="email"] {
    width: 100%;
    min-height: 48px;
    height: 48px;
    border: 0;
    border-radius: 12px;
    padding: 0 16px;
    background: #f2f2f2 !important;
    color: #111;
    font-size: 15px;
    outline: 0;
}

.lm-quiz-form .iti {
    width: 100%;
}

.lm-quiz-form .iti input.form-control,
.lm-quiz-form .iti input[type="tel"] {
    width: 100%;
    background: #f2f2f2 !important;
}

.lm-quiz-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding-left: 0;
}

.lm-quiz-form .form-check-input {
    float: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    cursor: pointer;
}

.lm-quiz-form .form-check-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}

.lm-quiz-form .form-check-label a,
.lm-quiz-form .privacy-policy-link {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: underline;
}

.lm-quiz-form .mgn-submit-button,
.lm-quiz-form .mgn-submit-button.btn,
.lm-quiz-form .mgn-submit-button.btn-primary,
.lm-quiz-form button[type="submit"],
.lm-quiz-form input[type="submit"],
.lm-quiz-form .btn[type="submit"],
.lm-quiz-form .btn-primary {
    appearance: none;
    width: 100%;
    min-height: 48px;
    border: 0 !important;
    border-radius: 12px;
    opacity: 1 !important;
    background-color: #4a7dff !important;
    background-image: linear-gradient(135deg, #4a7dff 0%, #2d4b99 100%) !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    box-shadow: none !important;
    cursor: pointer;
}

.lm-quiz-form .mgn-submit-button:hover,
.lm-quiz-form .mgn-submit-button.btn:hover,
.lm-quiz-form button[type="submit"]:hover,
.lm-quiz-form .btn-primary:hover {
    opacity: 1 !important;
    background-color: #3468f5 !important;
    background-image: linear-gradient(135deg, #3468f5 0%, #243f82 100%) !important;
    color: #ffffff !important;
}

.lm-quiz-form .mgn-consent-wrapper--optional:has(label:empty),
.lm-quiz-form .form-check:has(.form-check-label:empty) {
    display: none !important;
}

@media (max-width: 1023px) {
    .lm-quiz-form form {
        grid-template-columns: 1fr;
    }

    .lm-quiz-form form > .lm-quiz-col--half,
    .lm-quiz-form form > *:has([name="full_name"]),
    .lm-quiz-form form > *:has([name="full-name"]),
    .lm-quiz-form form > *:has([name="phone"]),
    .lm-quiz-form form > *:has([name="phone-number"]),
    .lm-quiz-form form > *:has(input[type="tel"]) {
        grid-column: 1 / -1;
    }
}
