/* Motor insurance application stepper - shared styles */
.motor-stepper {
    background: #fff;
    border-radius: 10px;
    padding: 16px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    border: 1px solid #e5e7eb;
}
.motor-stepper-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.motor-step-item {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.motor-step-item:last-child .motor-step-connector { display: none; }
.motor-step-connector {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin: 0 8px;
    min-width: 20px;
}
.motor-step-item.active .motor-step-connector,
.motor-step-item.done .motor-step-connector { background: #e74c4c; }
.motor-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    background: #e5e7eb;
    color: #64748b;
}
.motor-step-item.active .motor-step-circle {
    background: #e74c4c;
    color: #fff;
}
.motor-step-item.done .motor-step-circle {
    background: #e74c4c;
    color: #fff;
}
.motor-step-item.done .motor-step-circle span { display: none; }
.motor-step-item.done .motor-step-circle::after {
    content: "\f00c";
    font-family: FontAwesome;
    font-size: 0.9rem;
}
.motor-step-label {
    margin-left: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.motor-step-item.active .motor-step-label { color: #e74c4c; }
.motor-step-item.done .motor-step-label { color: #334155; }
@media (max-width: 768px) {
    .motor-step-label { display: none; }
    .motor-stepper-inner { justify-content: center; }
}
/* Tooltip: coral red bg, white text */
body.motor-stepper-page .tooltip-inner {
    background-color: #e74c4c !important;
    color: #fff !important;
}
body.motor-stepper-page .tooltip.top .tooltip-arrow { border-top-color: #e74c4c !important; }
body.motor-stepper-page .tooltip.bottom .tooltip-arrow { border-bottom-color: #e74c4c !important; }
body.motor-stepper-page .tooltip.left .tooltip-arrow { border-left-color: #e74c4c !important; }
body.motor-stepper-page .tooltip.right .tooltip-arrow { border-right-color: #e74c4c !important; }
