.register-provider-shell {
    width: min(760px, 100%);
    margin: 28px auto 44px;
}

.register-provider-shell .auth-head {
    max-width: 680px;
    margin-inline: auto;
}

.register-provider-card {
    overflow: hidden;
}

.register-provider-form {
    display: grid;
    gap: 4px;
}

.register-provider-form .form-group {
    min-width: 0;
}

.register-category-section {
    margin-top: 4px;
}

.register-category-grid {
    align-items: stretch;
    gap: 12px;
}

.register-category-card {
    min-width: 0;
    height: 100%;
    padding: 15px;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        background 0.16s ease,
        transform 0.16s ease;
}

.register-category-card:hover {
    border-color: #aebff2;
    background: #f8faff;
    transform: translateY(-1px);
}

.register-category-card:has(.register-category-checkbox:checked) {
    border-color: #315ffd;
    background: #f0f4ff;
    box-shadow: 0 0 0 2px rgba(49, 95, 253, 0.1);
}

.register-category-content {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.register-category-checkbox {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 1px 0 0;
    accent-color: #315ffd;
}

.register-category-content > span {
    min-width: 0;
}

.register-category-description {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.register-category-price {
    max-width: 100%;
    display: inline-flex;
    margin-top: 8px;
    white-space: normal;
    line-height: 1.35;
}

html[data-theme="dark"] .register-category-card:hover,
html[data-theme="dark"]
.register-category-card:has(.register-category-checkbox:checked) {
    color: var(--text);
    border-color: #5271c2;
    background: #192d55;
}

@media (max-width: 640px) {
    .register-provider-shell {
        width: 100%;
        margin: 4px auto 24px !important;
    }

    .register-provider-shell .auth-head {
        margin-bottom: 14px !important;
        padding-inline: 4px;
        text-align: left;
    }

    .register-provider-shell .auth-head h1 {
        margin: 0 0 7px;
        font-size: 1.42rem !important;
    }

    .register-provider-shell .auth-head p {
        margin: 0;
        font-size: 0.78rem !important;
        line-height: 1.55;
    }

    .register-provider-card {
        border-radius: 15px;
    }

    .register-provider-card > .card-body {
        padding: 15px !important;
    }

    .register-provider-form {
        gap: 2px;
    }

    .register-provider-form .form-row {
        gap: 0 !important;
    }

    .register-provider-form .form-group {
        margin-bottom: 14px;
    }

    .register-provider-form .form-label {
        margin-bottom: 6px;
        font-size: 0.78rem;
    }

    .register-provider-form .form-control {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 0.86rem;
    }

    .register-provider-form textarea.form-control {
        min-height: 88px;
    }

    .register-provider-shell .rp-location-form-card {
        margin: 2px 0 16px;
        padding: 14px !important;
        border-radius: 14px !important;
    }

    .register-provider-shell .rp-location-heading {
        gap: 8px;
        margin-bottom: 13px;
    }

    .register-provider-shell .rp-location-heading h2 {
        font-size: 1rem;
    }

    .register-provider-shell .rp-location-heading p {
        font-size: 0.74rem;
        line-height: 1.5;
    }

    .register-provider-shell .rp-location-pin {
        display: none;
    }

    .register-provider-shell .rp-location-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .register-provider-shell .rp-location-actions .btn {
        width: 100%;
    }

    .register-provider-shell .rp-location-status {
        width: 100%;
        text-align: center;
    }

    .register-provider-shell .register-category-grid {
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    .register-provider-shell .register-category-card {
        padding: 13px !important;
        border-radius: 12px !important;
    }

    .register-category-content {
        gap: 10px;
    }

    .register-category-description {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .register-category-price {
        font-size: 0.68rem;
    }

    .register-category-section > .alert {
        display: block;
        margin-top: 10px !important;
        padding: 12px;
        font-size: 0.73rem;
        line-height: 1.5;
    }

    .register-provider-form > .btn-block {
        min-height: 46px;
        margin-top: 2px;
    }
}
