/* PROVIDER REGISTRATION V2
 * Public provider-signup modal only. Keeps all existing form names/ids/JS contracts intact
 * while aligning the wizard with Luca's newer Provider visual language.
 */

.luca-provider-register-modal {
    --lpr-green: #6eaa89;
    --lpr-green-deep: #4f7f67;
    --lpr-green-soft: rgba(110, 170, 137, .12);
    --lpr-mint: #9fdfd7;
    --lpr-mint-soft: rgba(159, 223, 215, .18);
    --lpr-coral: #e8665d;
    --lpr-yellow: #f2bd48;
    --lpr-ink: #302d2a;
    --lpr-muted: #748091;
    --lpr-border: #e8ecef;
    --lpr-soft: #f7f9f8;
}

.luca-provider-register-modal .modal-dialog {
    max-width: 850px;
}

.luca-provider-register {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(29, 36, 51, .20);
    background: #fff;
}

.luca-provider-register__header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--lpr-border);
    background: #fff;
}

.luca-provider-register__header h5 {
    margin: 0;
    color: var(--lpr-ink);
    font-size: 1.35rem;
    line-height: 1.2;
}

.luca-provider-register__header > a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7d8795;
    background: var(--lpr-soft);
    transition: background-color .15s ease, color .15s ease;
}

.luca-provider-register__header > a:hover,
.luca-provider-register__header > a:focus-visible {
    background: var(--lpr-green-soft);
    color: var(--lpr-green-deep);
}

.luca-provider-register__wizard > .modal-body {
    padding: 16px 20px 0;
}

.luca-provider-register #providerwizard {
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--lpr-border);
    border-radius: 16px;
    background: var(--lpr-soft);
}

.luca-provider-register #providerwizard li {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 !important;
    padding: 9px 12px;
    border-radius: 12px;
    color: var(--lpr-muted);
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.luca-provider-register #providerwizard li .avatar {
    width: 34px;
    height: 34px;
    border: 0 !important;
    border-radius: 10px !important;
    background: #fff;
    color: var(--lpr-muted);
    box-shadow: 0 1px 4px rgba(29,36,51,.06);
}

.luca-provider-register #providerwizard li h6 {
    margin: 0;
    font-size: 14px !important;
    color: inherit;
}

.luca-provider-register #providerwizard li.active {
    background: #fff;
    color: var(--lpr-ink);
    box-shadow: 0 5px 16px rgba(29,36,51,.08);
}

.luca-provider-register #providerwizard li.active .avatar {
    background: var(--lpr-green);
    color: #fff;
}

.luca-provider-register fieldset > .modal-body {
    padding: 16px 20px 8px;
}

.luca-provider-register__intro {
    position: relative;
    padding: 18px 20px;
    border: 1px solid rgba(159,223,215,.45);
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 18%, rgba(242,189,72,.20) 0 9px, transparent 10px),
        linear-gradient(135deg, rgba(159,223,215,.18), rgba(255,255,255,.95));
}

.luca-provider-register__intro h4 {
    margin-bottom: 4px;
    color: var(--lpr-ink);
    font-size: 1.35rem;
}

.luca-provider-register__intro p {
    margin: 0;
    color: var(--lpr-muted);
    font-size: 13.5px;
}

.luca-provider-register .form-label {
    margin-bottom: 7px;
    color: var(--lpr-ink);
    font-size: 13px;
    font-weight: 700;
}

.luca-provider-register .form-control,
.luca-provider-register .select2-container .select2-selection--single {
    min-height: 44px;
    border: 1px solid var(--lpr-border);
    border-radius: 12px;
    background: #fff;
    color: var(--lpr-ink);
    box-shadow: none;
}

.luca-provider-register .form-control {
    padding: 10px 12px;
}

.luca-provider-register .form-control:focus {
    border-color: var(--lpr-green);
    box-shadow: 0 0 0 3px var(--lpr-green-soft);
}

.luca-provider-register .input-group .form-control {
    border-radius: 12px 0 0 12px;
}

.luca-provider-register .input-group .btn {
    min-width: 52px;
    border-color: var(--lpr-border);
    border-radius: 0 12px 12px 0;
    color: var(--lpr-ink);
    background: var(--lpr-soft);
}

.luca-provider-register .input-group .btn:hover,
.luca-provider-register .input-group .btn:focus-visible {
    background: var(--lpr-green-soft);
    color: var(--lpr-green-deep);
}

.luca-provider-register .form-text {
    margin-top: 6px;
    color: var(--lpr-muted);
    font-size: 12px;
}

.luca-provider-register .form-check {
    padding: 12px 14px 12px 38px;
    border: 1px solid var(--lpr-border);
    border-radius: 12px;
    background: var(--lpr-soft);
}

.luca-provider-register .form-check-input {
    margin-top: .2rem;
    border-color: #cfd7d3;
}

.luca-provider-register .form-check-input:checked {
    background-color: var(--lpr-green);
    border-color: var(--lpr-green);
}

.luca-provider-register .form-check-label {
    color: #5f6977;
    font-size: 12.5px;
    line-height: 1.45;
}

.luca-provider-register .form-check-label a {
    color: var(--lpr-green-deep) !important;
    font-weight: 600;
}

.luca-provider-register__footer {
    padding: 14px 20px 16px;
    border-top: 1px solid var(--lpr-border);
    background: #fff;
}

.luca-provider-register__primary {
    min-width: 122px;
    border: 1px solid var(--lpr-green) !important;
    border-radius: 999px !important;
    background: var(--lpr-green) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(110,170,137,.18);
}

.luca-provider-register__primary:hover,
.luca-provider-register__primary:focus-visible {
    background: #5f9b7c !important;
    border-color: #5f9b7c !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.luca-provider-register__secondary {
    min-width: 96px;
    border: 1px solid var(--lpr-border) !important;
    border-radius: 999px !important;
    background: var(--lpr-soft) !important;
    color: var(--lpr-ink) !important;
    font-weight: 600;
}

.luca-provider-register__secondary:hover,
.luca-provider-register__secondary:focus-visible {
    background: #eef2f0 !important;
    color: var(--lpr-ink) !important;
}

.luca-provider-register .luca-service-type-card {
    min-height: 66px;
    border-radius: 14px;
    border-color: var(--lpr-border);
    padding: 12px 14px;
    background: #fff;
}

.luca-provider-register .luca-service-type-card__icon {
    background: var(--lpr-green-soft);
    color: var(--lpr-green);
}

.luca-provider-register .luca-service-type-card:has(:checked) {
    border-color: var(--lpr-green);
    background: rgba(110,170,137,.08);
    box-shadow: 0 0 0 3px rgba(110,170,137,.10);
}

.luca-provider-register .luca-service-type-card:has(:checked) .luca-service-type-card__check {
    background: var(--lpr-green);
    border-color: var(--lpr-green);
    color: #fff;
}

.luca-provider-register .luca-city-results {
    border-color: var(--lpr-border);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(29,36,51,.12);
}

.luca-provider-register .text-danger {
    font-size: 12px;
}

@media (max-width: 767.98px) {
    .luca-provider-register {
        border-radius: 18px;
    }

    .luca-provider-register__header,
    .luca-provider-register__wizard > .modal-body,
    .luca-provider-register fieldset > .modal-body,
    .luca-provider-register__footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .luca-provider-register #providerwizard li {
        padding: 8px 10px;
    }

    .luca-provider-register #providerwizard li h6 {
        font-size: 13px !important;
    }
}
