/* ══ Step Progress Bar ══ */
.sf-stepper {
    position: relative;
    padding: 18px 0 22px;
}
.sf-track {
    position: absolute;
    top: 36px;
    left: 32px;
    right: 32px;
    height: 3px;
    background: #e5e7eb;
    border-radius: 3px;
}
.sf-track-fill {
    height: 100%;
    background: linear-gradient(90deg, #ad277c, #c9518d);
    border-radius: 3px;
    transition: width 0.4s ease;
}
.sf-step-list {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
}
.sf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 64px;
}
.sf-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    background: #e5e7eb;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
    transition: all 0.25s ease;
}
.sf-step--active .sf-dot {
    background: #9ca3af;
    color: #fff;
    border-color: #9ca3af;
    box-shadow: 0 0 0 4px rgba(173,39,124,0.15);
}
.sf-step--done .sf-dot {
    background: #ad277c;
    color: #fff;
    border-color: #ad277c;
}
.sf-dot-label {
    margin-top: 7px;
    font-size: 0.9rem;
    text-align: center;
    color: #374151 !important;
    line-height: 1.5;
    width: 90px;
}
.sf-step--active .sf-dot-label { color: #ad277c;}
.sf-step--done .sf-dot-label   { color: #374151; }

/* ══ Section header (gradient bar) ══ */
.sf-section-head {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #ad277c 0%, #c9518d 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 8px;
    margin-bottom: 2px;
}

/* ══ Floating-label field ══ */
.sf-field {
    position: relative;
    border: 1px solid #374151 !important;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.sf-field:focus-within {
    border-color: #374151 !important;
}
/* Resting label — sits inside the field like a placeholder */
.sf-label-top {
    left: 12px;
    font-size: 1rem;
    color: #374151 !important;
    background: transparent;
    padding: 0px 3px 15px 3px;
    line-height: 1.5;
    z-index: 1;
}
.sf-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #374151 !important;
    background: transparent;
    padding: 0 3px;
    pointer-events: none;
    line-height: 1.5;
    z-index: 1;
    transition: top 0.18s ease, transform 0.18s ease, font-size 0.18s ease, color 0.18s ease, background 0.18s ease;
}
/* Floating state: on focus OR when value exists */
.sf-field:focus-within .sf-label,
.sf-field.sf-filled .sf-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #374151 !important;
    background: #fff;
    font-weight: 500;
}
/* Textarea variant: label starts near top, not vertically centred */
.sf-field--area .sf-label {
    top: 14px;
    transform: none;
}
.sf-field--area:focus-within .sf-label,
.sf-field--area.sf-filled .sf-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #374151 !important;
    background: #fff;
    font-weight: 500;
}
/* The actual input/select/textarea — borderless inside the wrapper */
.sf-control {
    display: block;
    text-align: left;
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent !important;
    border-radius: 7px;
    padding: 18px 36px 7px 12px;
    font-size: 1rem;
    color: #374151 !important;
    appearance: none;
    cursor: pointer;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 16px);
}
.sf-control:focus {
    outline: none !important;
    box-shadow: none !important;
}
.sf-control--area {
    min-height: 100px !important;
    width: 100% !important;
    padding: 20px 12px 8px;
    resize: vertical;
    cursor: text;
}
/* Chevron icon for selects */
.sf-arrow {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.8rem;
    pointer-events: none;
    transition: color 0.2s;
}
.sf-field:focus-within .sf-arrow { color: #ad277c; }

/* ══ Error ══ */
.sf-err { margin-top: 4px; font-size: 0.75rem; }

/* ══ Buttons ══ */
.sf-btn-next {
    background: linear-gradient(135deg, #ad277c, #c9518d);
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 9px 24px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.12s;
}
.sf-btn-next:hover:not(:disabled) {
    box-shadow: 0 4px 16px rgba(173,39,124,0.3);
    transform: translateY(-1px);
}
.sf-btn-back {
    background: #f3f4f6;
    color: #374151 !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 9px 24px;
    border-radius: 9999px;
    border: 1.5px solid #e5e7eb;
    cursor: pointer;
    transition: background 0.2s;
}
.sf-btn-back:hover { background: #e5e7eb; }

.sf-focus-none:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ══ Address Picker ══ */
.od-location-dropdown-trigger {
    text-align: left;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    padding: 10px 36px 10px 12px;
}
.od-location-dropdown-trigger:focus {
    outline: none;
    box-shadow: none;
}

/* ══ DatePicker ══ */
.sf-date-picker {
    display: block;
    width: 100%;
    height:50px;
    border: none;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 7px;
    padding: 18px 36px 7px 12px;
    font-size: 1rem;
    color: #374151;
    appearance: none;
    cursor: pointer;
    line-height: 1.5;
}
.sf-date-picker input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    width: 100%;
    height:50px;
    font-size: 1rem;
    color: #374151;
    cursor: pointer;
}
.sf-date-picker input::placeholder {
    color: transparent;
}
.v3dp__input_wrapper {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.v3dp__clearable {
    display: inherit !important;
    left: inherit !important;
    position: absolute !important;
    right: 30px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}