/* ========== DASHBOARD E LISTAGENS ========== */
.po-negocios-dashboard,
.po-negocios-list,
.po-negocios-form,
.po-negocios-membros,
.po-negocios-filtros {
    display:flex;
    flex:auto;
    width: 100%;
    box-sizing: border-box;
    gap:10px;
    margin: 5px auto 15px;
    max-width: 700px;
    background: #00445d;
    border-radius: 20px;
    padding: 15px;
    color: #fafafa;
    box-shadow: 0 3px 20px 0 #0004;
}

.po-negocios-dashboard,
.po-negocios-list,
.po-negocios-form,
.po-negocios-membros,
.po-negocios-filtros { flex-direction: column; }

.po-negocios-form {margin-bottom:15px!important;}
.po-negocios-list { flex-direction: row; }

.po-negocios-dashboard {
    background-image: linear-gradient(180deg, #00445d, #003d4d);
}

.po-negocios-list,
.po-negocios-filtros {
    background: #00222e!important;
}

.po-negocios-list .po-negocio-card,
.po-negocios-membros .po-membro,
.po-negocios-filtros .po-filtro {
    background: #00445d;
    border:1px solid #00445d;
    border-radius: 20px;
    padding: 20px;
    /*margin-bottom: 14px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:10px;
}

.po-negocios-list .po-negocio-card:hover {background: #00556e !important;}

/* ========== RESPONSIVO ========== */
@media only screen and (min-width:500px) { 
    .po-negocios-list .po-negocio-card { width:25%; } 
    .po-negocios-membros .po-membro { width:25.2%; }
    .po-negocios-list, .po-negocios-membros { display: flex; column-gap: 20px; flex-wrap: wrap; justify-content: center; }
}
@media only screen and (max-width:500px) {
    .po-negocios-membros, .po-negocios-list, .po-negocios-filtros { flex-direction: column !important; }
}

/* ========== LOGO E AVATAR ========== */
.po-negocio-card .po-negocio-logo, .po-negocio-logo {
    min-height:50px; height: 50px; max-height:50px; border-radius: 50% !important; object-fit: cover;
    background: #333;
    box-shadow: 0 0 4px 0 #000;
}

.po-negocio-card-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.po-negocio-card-categoria {
    color: #84b7f6;
    font-size: 13px;
    margin-top: 2px;
    margin-bottom: 8px;
}

.po-negocio-status {
    font-size: 11px;
    font-weight: bold;
    margin-left: 7px;
}

/* ========== FORMULÁRIOS ========== */
.po-negocios-form input,
.po-negocios-form textarea,
.po-negocios-form select {
    width: 100%;
    /*margin-bottom: 10px;*/
    padding: 8px;
    border-radius: 20px;
    border: 1px solid #343434;
    background: #181818;
    color: #fafafa;
}

.po-negocios-form label { font-weight: bold; margin-top: 5px; margin-bottom:10px; display: flex; }

/* ========== BOTÕES ========== */
.po-negocios-form button,
#po-meus-negocios button,
.po-negocio-card button,
.po-negocios-dashboard button,
#po-form-criar-equipes-auto button {
    background: #007998;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    border:1px solid #357db6;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: bold;
    flex: auto;
}

.po-negocios-form button:hover,
#po-meus-negocios button,
.po-negocios-list button:hover,
.po-negocios-dashboard button:hover,
#po-form-criar-equipes-auto button:hover {
    background: #0091b6 !important;
        color: #fff !important;
    /*border:1px solid #00ccff !important;*/
}

#ponegocio-alterar-logo-btn:hover, #ponegocio-configurar-btn:hover {
        background: #ddd !important;
        color: #000 !important;
}

.po-negocio-deletar-btn {
    background: #ff3333;
    border: 1px solid #ff7878;
    color: #fff;
}

.po-negocio-deletar-btn:hover {
    background: #cc2222 !important;
    border: 1px solid #fff0f0 !important;
}

/* ========== AUTOCOMPLETE ========= */
.po-autocomplete-wrap { position: relative; }
.po-autocomplete-list {
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: 99;
    background: #292929;
    border-radius: 20px;
    box-shadow: 0 7px 24px 0 #0005;
}
.po-autocomplete-item {
    padding: 8px 14px;
    cursor: pointer;
}
.po-autocomplete-item:last-child { border-bottom: none; }
.po-autocomplete-item:hover { background: #383838; }

/* ========== FILTROS ========== */
.po-negocios-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #10233a !important;
}
.po-filtro label {
    font-size: 13px;
    color: #a6d5ff;
}

/* Checkbox departamentos */
.po-negocios-form .po-dpt-checkbox,
.po-negocios-filtros .po-dpt-checkbox {
    margin-right: 12px;
    accent-color: #006ad9;
}



/* ========== GERAL E UTILITÁRIOS ========== */
.po-negocios-form .po-logo-upload-wrap {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.po-logo-upload-wrap:hover .po-logo-overlay,
.po-logo-upload-wrap:focus-within .po-logo-overlay {
    display: flex;
}
.po-logo-overlay {
    display: none;
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: .2s;
}
.po-logo-upload-wrap img {
    box-shadow: 0 0 10px 0 #000;
    transition: box-shadow .2s, border-color .2s;
}
.po-logo-upload-wrap:hover img {
    box-shadow: 0 0 10px 0 #00ccff;
    border-color: #00ccff;
}

/* botão desabilitado fica meio “cinza” e com cursor proibido */
.po-negocios-form button[type="submit"]:disabled,
.po-negocios-form button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}


#po-alterar-logo-btn, #po-alterar-logo-btn-edit {
    vertical-align: middle;
}


.po-categoria-select-row {
    display: flex;
    flex-direction: column;

    /*align-items: center;*/
}
.po-categoria-select {
    min-width: 150px;
        margin-bottom:10px;
}
.po-categoria-outra {
    min-width: 150px;
}
#po-categorias-limite {
    color: #f00;
    /*margin-left: 8px;*/
}


#po-adicionar-categoria-btn:disabled,
#po-remover-categoria-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

@media only screen and (min-width: 500px) { #po-criar-negocio-card {width: 25%;}}

#po-criar-equipes-card:hover, #po-criar-negocio-card:hover {
 border: 1px #00ccff dashed!important;
transition: all 0.3s ease!important;
}


/* Spinner Loading simples e moderno para lista de negócios */
#po-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

#po-spinner .spinner, .spinner {
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top: 4px solid #00ccff; /* cor principal do spinner */
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 2s linear infinite;
}

/* Spinner loading animation global para ProdutoraOnline */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Spinner barra para loading na central de notificações */

@keyframes barraLoading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.spinner-barra {
  width: 100%;
  height: 20px;
  border-radius: 20px;
  background: linear-gradient(
    270deg,
    rgba(0, 100, 120, 0.3),
    rgba(0, 100, 120, 0.7),
    rgba(0, 100, 120, 0.3)
  );
  background-size: 400% 100%;
  animation: barraLoading 3s linear infinite;
  /* Sem bordas, efeito translucido degradê animado da esquerda para a direita */
}

