.pathFinderContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(10px);
    background-color: #00000014;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;

    .questionBox {
        background: #fff;
        padding: 30px;
        width: 70%;
        border-radius: 8px;

        .status {
            display: flex;
            font-size: 12px;
            margin: 0;
            margin-bottom: 10px;
        }

        .question {
            padding: 0 10px;
            /* background-color: #fff; */
            border-radius: 8px;
            /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
            margin-bottom: 20px;
            font-weight: 500;
        }

        .navigator {
            margin-left: 10px;
            display: flex;
            justify-content: start;
            gap: 10px;
            margin-top: 20px;
            width: auto;
            color: #007bff;
        }
        .optionsTable {
            width: 100%;
            margin-top: 10px;

            .option {
                padding: 20px;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
                display: block;
                margin: 10px 0;
                border-radius: 10px;
                background: #fff;
                cursor: pointer;
                &.selected {
                    background-color: #007bff;
                    color: #fff;
                }
                td {
                    padding: 10px 0;
                    display: flex;
                    align-items: center;
                    gap: 20px;
                    font-size: 14px;
                    font-weight: 500;
                    .checkbox {
                        color: #fff;
                    }
                }
            }
        }
    }
    .initialBoxes {
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 30px;
    }

    .initialBox {
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        background: #fff;
        border-radius: 12px;
        width: 45%;
        min-width: 280px;
        max-width: 320px;
        text-align: center;
        cursor: pointer;
        transition: transform 0.3s, box-shadow 0.3s;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;

        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        h4 {
            font-size: 1.6rem;
            color: #007bff;
        }

        span {
            font-size: 1rem;
            color: #555;
        }

        .boxImage {
            width: 80px;
            height: 80px;
            object-fit: contain;
        }

        &.selected {
            background-color: #007bff;
            color: #fff;

            h4,
            span {
                color: #fff;
            }
        }
    }

    .actionButtons {
        display: flex;
        justify-content: space-between;
        justify-content: end;
        margin-top: 20px;
    }
}

.pathFinderContainer h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.pathFinderContainer p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.pathFinderContainer .question-no {
    font-weight: bold;
    color: #333;
}

.pathFinderContainer h4 {
    font-size: 1.25rem;
    margin-top: 20px;
}

.pathFinderContainer .options-table td {
    padding: 10px 0;
    font-size: 1rem;
}

.pathFinderContainer input[type="checkbox"] {
    margin-right: 10px;
}

.pathFinderContainer .button-container {
    display: flex;
    justify-content: space-between; /* Aligns buttons to left and right */
    margin-top: 20px;
}

.pathFinderContainer button.prev {
    background-color: #ddd;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
}

.pathFinderContainer button.prev:hover {
    background-color: #ccc;
}

.pathFinderContainer button.next {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
}

.pathFinderContainer button.next:hover {
    background-color: #0056b3;
}

.pathFinderContainer .result-box {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pathFinderContainer .bold-text {
    font-weight: bold;
    font-size: 1.5rem;
    color: #007bff;
}

.pathFinderContainer .result-heading {
    margin-top: 20px;
    font-size: 1.25rem;
    font-weight: bold;
}

.pathFinderContainer hr {
    margin: 20px 0;
    border-top: 2px solid #007bff;
}

.pathFinderContainer strong {
    font-weight: bold;
}

.pathFinderContainer span {
    font-size: 1.25rem;
    margin-left: 10px;
    color: #333;
}
@media (max-width: 768px) {
    .initialBoxes {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .initialBox {
        width: 90%; /* Make boxes take most of the screen width */
        max-width: 100%;
        padding: 15px; /* Reduce padding */
        gap: 10px; /* Reduce spacing between elements */
    }

    .initialBox h4 {
        font-size: 1.4rem; /* Reduce font size */
    }

    .initialBox span {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }

    .initialBox .boxImage {
        width: 60px; /* Scale down the image */
        height: 60px;
    }

    .initialBox:hover {
        transform: none; /* Disable hover transform for better usability on touch screens */
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); /* Simplify shadow on hover */
    }
}
