.elementor-3901 .elementor-element.elementor-element-5ded0b3{--display:flex;}.elementor-3901 .elementor-element.elementor-element-45a48ba{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-3901 .elementor-element.elementor-element-25baf37{--display:flex;}/* Start custom CSS for global, class: .elementor-global-3907 *//* Scoped Styles for Therapist Finder Widget */

/* Widget Container specific resets */
#therapist-finder-widget {
    font-family: 'Roboto', sans-serif;
    color: #333;
    box-sizing: border-box;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Ensure all elements inside widget inherit box-sizing */
#therapist-finder-widget *,
#therapist-finder-widget *:before,
#therapist-finder-widget *:after {
    box-sizing: inherit;
}

#therapist-finder-widget #tf-container {
    padding: 30px;
    min-height: 400px;
    /* Minimal height to prevent jumping */
    display: flex;
    flex-direction: column;
}

/* Progress Bar */
#therapist-finder-widget #tf-progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

#therapist-finder-widget #tf-progress-bar {
    height: 100%;
    width: 0%;
    background-color: rgb(145, 69, 71);
    transition: width 0.3s ease;
}

/* Typography */
#therapist-finder-widget h2 {
    color: rgb(145, 69, 71);
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.3;
}

/* Options */
#therapist-finder-widget #tf-options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 480px) {
    #therapist-finder-widget #tf-options-container {
        grid-template-columns: 1fr;
    }
}


#therapist-finder-widget .tf-option {
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    /* Rounded corners kept */
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #009391;
    /* Teal background */
    color: white;
    /* White text */
    text-align: left;
    display: flex;
    justify-content: center;
    /* Center text since key is gone */
    align-items: center;
    min-height: 60px;
    /* Reduced height slightly since vertical space might be tight on mobile */
    position: relative;
    top: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#therapist-finder-widget .tf-option:active {
    top: 2px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

#therapist-finder-widget .tf-option:hover {
    background-color: #007c7a;
    /* Darker teal on hover */
    border-color: rgba(255, 255, 255, 0.3);
}

#therapist-finder-widget .tf-option.selected {
    background-color: #005f5e;
    /* Even darker teal when selected */
    border-color: white;
    /* White border to highlight selection */
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

#therapist-finder-widget .tf-option-key {
    display: none;
    /* Hide keys A, B, C... */
}

/* Redundant rule for selected key since it's hidden */
#therapist-finder-widget .tf-option.selected .tf-option-key {
    display: none;
}

#therapist-finder-widget .tf-option-text {
    flex-grow: 1;
}

#therapist-finder-widget .tf-option-check {
    opacity: 0;
    color: white;
    /* White checkmark */
    font-size: 20px;
    margin-left: 10px;
    transition: opacity 0.2s;
}

#therapist-finder-widget .tf-option.selected .tf-option-check {
    opacity: 1;
}

/* Hide native checkbox visually if we use it, but keep it accessible if needed. 
   Actually, we will use <button> elements for better control. */

/* Buttons */
#therapist-finder-widget #tf-navigation {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

#therapist-finder-widget .tf-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    /* Flat, no rounded corners */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    /* Make Next/Back same size */
    text-align: center;
    background-color: rgb(145, 69, 71);
    /* Burgundy background */
    color: white;
}


#therapist-finder-widget .tf-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

#therapist-finder-widget .tf-btn:disabled:hover {
    background-color: #ccc;
    /* No hover effect when disabled */
}

#therapist-finder-widget .tf-btn:hover {
    background-color: rgb(165, 80, 82);
}

/* Specific button targeting */
#therapist-finder-widget #tf-next-btn {
    margin-left: auto;
    /* Flush right always */
}

/* Remove old specific button styles if they conflict */
#therapist-finder-widget .tf-btn-primary,
#therapist-finder-widget .tf-btn-secondary {
    background-color: rgb(145, 69, 71);
    color: white;
}

/* Results */
#therapist-finder-widget #tf-results-list {
    display: block;
    margin-bottom: 20px;
}

#therapist-finder-widget .tf-result-card {
    display: grid;
    grid-template-columns: 1fr;
    /* Stacked layout */
    grid-template-rows: 350px 1fr;
    /* Image on top, content below */
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    position: relative;
    border: 1px solid #eee;
}

#therapist-finder-widget .tf-card-image {
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #eee;
    height: 100%;
    /* Fill the 350px row */
}

#therapist-finder-widget .tf-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#therapist-finder-widget .tf-card-header {
    margin-bottom: 20px;
}

#therapist-finder-widget .tf-counter-badge {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
}

#therapist-finder-widget .tf-card-name {
    font-size: 32px;
    font-family: serif;
    /* Elegant touch like reference */
    color: rgb(145, 69, 71);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

#therapist-finder-widget .tf-card-quote {
    font-style: italic;
    color: #555;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

#therapist-finder-widget .tf-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

#therapist-finder-widget .tf-tag {
    background: #f0f4f4;
    color: #555;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#therapist-finder-widget .tf-card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


#therapist-finder-widget .tf-btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    text-decoration: none;
    border-radius: 0;
    /* Flat, no rounded corners */
    font-weight: 600;
    transition: all 0.2s;
}

#therapist-finder-widget .tf-btn-outline {
    background: transparent;
    border: 2px solid #009391;
    /* Teal border */
    color: #009391;
    /* Teal text */
}

#therapist-finder-widget .tf-btn-outline:hover {
    border-color: #007c7a;
    background: #f0fcfc;
    color: #007c7a;
}

/* Badge */
#therapist-finder-widget .tf-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #009391;
    /* Highlight Teal */
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

#therapist-finder-widget .tf-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    display: inline-block;
}

/* Navigation Overlay */
#therapist-finder-widget .tf-card-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    /* Let clicks pass through except buttons */
}

/* Re-enable pointer events for buttons */
#therapist-finder-widget .tf-card-nav button {
    pointer-events: auto;
}

/* Mobile Responsive */
@media (max-width: 700px) {
    #therapist-finder-widget .tf-card-content {
        padding: 30px 20px;
    }

    #therapist-finder-widget .tf-card-name {
        font-size: 26px;
        /* Slightly smaller heading on mobile */
    }
}

/* Nav Arrows (Custom styled) */
#therapist-finder-widget .tf-nav-arrow {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

#therapist-finder-widget .tf-nav-arrow:hover {
    transform: scale(1.1);
}

#therapist-finder-widget .tf-nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Hide counter in nav overlay */
#therapist-finder-widget .tf-card-nav .tf-counter {
    display: none;
}

/* Animation Classes */
#therapist-finder-widget .fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    #therapist-finder-widget .tf-therapist-card {
        flex-direction: column;
        text-align: center;
    }

    #therapist-finder-widget .tf-therapist-links {
        justify-content: center;
    }
}/* End custom CSS */