/* Shared deal-step rail. Used by the deal desk and the property encyclopedia. */

.ddesk-stepper {
    background: #fff;
    border-right: 1px solid #e5e7eb;
    padding: 24px 16px 32px;
}

.ddesk-stepper-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6c757d;
    margin: 0 0 16px;
}

.ddesk-crumb {
    color: #1e3a5f;
    font-weight: 600;
    text-decoration: none;
}

.ddesk-crumb:hover,
.ddesk-crumb:focus-visible {
    text-decoration: underline;
}

.ddesk-crumb-sep {
    margin: 0 0.35em;
    color: #94a3b8;
    font-weight: 400;
}

.ddesk-crumb-here {
    color: #6c757d;
    font-weight: 500;
}

.ddesk-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ddesk-step {
    margin: 0 0 4px;
}

.ddesk-step-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #1e3a5f;
}

.ddesk-step--locked .ddesk-step-link {
    color: #94a3b8;
    cursor: default;
}

.ddesk-step--signup .ddesk-step-link:hover,
.ddesk-step--signup .ddesk-step-link:focus-visible {
    background: #e8eef6;
    color: #1e3a5f;
}

.ddesk-step--here .ddesk-step-link {
    background: #1e3a5f;
    color: #fff;
}

.ddesk-step--here .ddesk-step-link:hover,
.ddesk-step--here .ddesk-step-link:focus-visible {
    color: #fff;
}

.ddesk-step--here .ddesk-step-hint {
    color: rgba(255, 255, 255, 0.78);
}

.ddesk-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 4px;
    background: #cbd5e1;
    flex-shrink: 0;
}

.ddesk-step--done .ddesk-step-dot {
    background: #1e3a5f;
}

.ddesk-step--current:not(.ddesk-step--here) .ddesk-step-dot {
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.ddesk-step--here .ddesk-step-dot {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

.ddesk-step-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ddesk-step-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.ddesk-step-hint {
    font-size: 0.78rem;
    color: #6c757d;
}

.ddesk-home-link {
    display: inline-block;
    margin-top: 24px;
    font-size: 0.85rem;
    color: #1e3a5f;
}

@media (max-width: 1099px) {
    .ddesk-stepper {
        position: sticky;
        top: 0;
        z-index: 20;
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
        padding: 10px 12px 8px;
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden;
    }

    .ddesk-stepper-kicker {
        margin: 0 0 8px;
    }

    .ddesk-steps {
        display: flex;
        overflow-x: auto;
        gap: 6px;
        min-width: 0;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .ddesk-steps::-webkit-scrollbar {
        display: none;
    }

    .ddesk-step {
        margin: 0;
        flex: 0 0 auto;
    }

    .ddesk-step-link {
        min-height: 44px;
        padding: 8px 12px;
        align-items: center;
        gap: 8px;
    }

    .ddesk-step-dot {
        width: 8px;
        height: 8px;
        margin-top: 0;
    }

    .ddesk-step-hint {
        display: none;
    }

    .ddesk-home-link {
        display: inline-block;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .ddesk-stepper {
        padding: 8px 10px 6px;
    }

    .ddesk-stepper-kicker {
        font-size: 0.66rem;
        margin: 0 0 6px;
    }

    .ddesk-step-link {
        padding: 8px 10px;
    }

    .ddesk-step-label {
        font-size: 0.85rem;
    }
}
