/* Business area — Meu Negocio + Configuracoes */

.business-page {
    max-width: 960px;
    margin: 0 auto;
}

.business-hero {
    background: linear-gradient(135deg, rgba(61, 103, 174, 0.35) 0%, rgba(0, 31, 52, 0.95) 55%, rgba(0, 31, 52, 1) 100%);
    border: 1px solid rgba(211, 252, 52, 0.2);
    border-radius: var(--border-radius-lg, 16px);
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.business-hero::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(211, 252, 52, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.business-hero--onboarding {
    border-color: rgba(211, 252, 52, 0.45);
    box-shadow: 0 0 0 1px rgba(211, 252, 52, 0.08);
}

.business-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-color, #d3fc34);
    background: rgba(211, 252, 52, 0.12);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
}

.business-hero__title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #fff;
}

.business-hero__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    max-width: 42rem;
    line-height: 1.55;
}

.business-profile-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 767.98px) {
    .business-profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.business-logo-wrap {
    width: 140px;
    height: 140px;
    border-radius: var(--border-radius-lg, 16px);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}

.business-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.business-logo-wrap--empty i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.25);
}

.business-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
}

.business-status-badge--active {
    background: rgba(211, 252, 52, 0.15);
    color: var(--primary-color, #d3fc34);
}

.business-status-badge--inactive {
    background: rgba(255, 71, 87, 0.15);
    color: #ff6b7a;
}

.business-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.business-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius, 12px);
}

.business-meta-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(211, 252, 52, 0.1);
    color: var(--primary-color, #d3fc34);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.business-meta-item__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.15rem;
}

.business-meta-item__value {
    font-weight: 500;
    color: #fff;
    word-break: break-word;
}

.business-empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius-lg, 16px);
    background: rgba(255, 193, 7, 0.06);
    border: 1px dashed rgba(255, 193, 7, 0.35);
}

.business-empty-state i {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

.business-empty-hint {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius, 12px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
}

.business-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.business-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.business-social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(211, 252, 52, 0.4);
    background: rgba(211, 252, 52, 0.08);
    color: var(--primary-color, #d3fc34);
}

.business-completeness {
    margin: 1.25rem 0 0;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius, 12px);
    background: rgba(211, 252, 52, 0.06);
    border: 1px solid rgba(211, 252, 52, 0.15);
}

.business-completeness__bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 0.5rem;
}

.business-completeness__fill {
    height: 100%;
    border-radius: 999px;
    background: var(--primary-color, #d3fc34);
    transition: width 0.4s ease;
}

.business-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg, 16px);
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.25rem;
}

.business-section--highlight {
    border-color: rgba(211, 252, 52, 0.35);
    background: rgba(211, 252, 52, 0.05);
}

.business-section__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.business-section__head i {
    color: var(--primary-color, #d3fc34);
}

.business-section__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.business-section__hint {
    margin: -0.5rem 0 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.business-section__divider {
    border: 0;
    border-top: 1px solid rgba(211, 252, 52, 0.2);
    margin: 1.25rem 0;
}

.business-readonly-field {
    background: rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    pointer-events: none;
}

.business-google-sync {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.business-test-results {
    display: none;
    margin-top: 1rem;
}

.business-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.business-logo-upload {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius, 12px);
    padding: 1rem;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.business-logo-upload:hover,
.business-logo-upload:focus-within {
    border-color: rgba(211, 252, 52, 0.35);
    background: rgba(211, 252, 52, 0.04);
}

.business-logo-preview {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.business-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.business-pricing-banner {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius, 12px);
    background: rgba(211, 252, 52, 0.08);
    border-left: 4px solid var(--primary-color, #d3fc34);
}

.business-pricing-banner strong {
    color: var(--primary-color, #d3fc34);
}

.business-pricing-banner p {
    color: rgba(255, 255, 255, 0.75);
}

.business-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.required-mark {
    color: var(--primary-color, #d3fc34);
    margin-left: 0.15rem;
}

.business-page .form-label {
    color: rgba(255, 255, 255, 0.9);
}

.business-page .form-control,
.business-page .form-select {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.business-page .form-control:focus,
.business-page .form-select:focus {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(211, 252, 52, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(211, 252, 52, 0.12);
    color: #fff;
}

.business-page .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.business-page .form-text {
    color: rgba(255, 255, 255, 0.45) !important;
}

.business-page .admin-card {
    padding: 0;
    overflow: hidden;
}

.business-page .admin-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}

.business-page .admin-card-body {
    padding: 1.5rem !important;
}

@media (max-width: 575.98px) {
    .business-form-actions,
    .business-quick-actions {
        flex-direction: column;
    }

    .business-form-actions .btn,
    .business-quick-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
/* Toast + loading (padrao Produto) */
.mensagem {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--border-radius, 12px);
    color: #fff;
    font-weight: 600;
    z-index: 1050;
    animation: businessSlideInRight 0.3s ease;
}

.mensagem.success {
    background: linear-gradient(135deg, var(--primary-color, #d3fc34) 0%, var(--primary-dark, #b8e028) 100%);
    color: #001f34;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(211, 252, 52, 0.3);
}

.mensagem.error {
    background: #ef4444;
}

@keyframes businessSlideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.business-page .loading {
    display: none;
    padding: 0;
    margin: 0 8px 0 0;
    align-items: center;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    animation: none;
    box-shadow: none;
}

.business-page .loading.show {
    display: inline-flex;
}

.business-page .spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    border-radius: 50%;
    animation: businessSpin 0.9s linear infinite;
    margin: 0;
    box-shadow: none;
}

.business-page .spinner.spinner-on-light {
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-top-color: #374151;
}

@keyframes businessSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-com-load {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-com-load:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

.btn-com-load .loading {
    display: none;
    margin: 0 8px 0 0;
}

.btn-com-load .loading.show {
    display: inline-flex;
}