 .content-section {
    display: none;
    width: 100%;
  }
 .content-section.active {
    display: block !important;
  }

#mapContainer {
    width: 100%;
    height: 400px; /* ou a altura desejada */
    background-color: #f0f0f0; /* Cor de fundo para depuração */
}

button, a.button, .btn {
    font-weight: 500;
}

button:contains('Ver Ata'),
a:contains('Ver Ata'),
.ver-ata,
.ver-ata-btn {
    background-color: #0288d1 !important;
    color: white !important;
}

.reuniao-item,
.ata-box,
.ata-list,
.card,
.card-body,
.reuniao-card {
    background-color: rgba(179, 229, 252, 0.95) !important;
    color: #000000 !important;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Padronizar proporção da tela de Gerenciar Logins */
#gerenciar-logins.content-section {
    margin: 10 auto !important;
    max-width: 1200px !important;
    padding: 0 20px !important;
    background: rgba(179, 229, 252, 0.95) !important;
    border-radius: 15px;
    box-shadow: 0 4px 8px #78bfea;
}
#gerenciar-logins.content-section * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}



.reuniao-item,
.ata-box,
.ata-list,
.card,
.card-body,
.reuniao-card {
    background-color: rgba(179, 229, 252, 0.95) !important;
    color: #000000 !important;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ata-card,
.ata-container,
.reuniao-card,
.reuniao-item,
.reuniao-box {
    background-color: rgba(179, 229, 252, 0.95) !important; 
    color:#81d2d9 !important;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}



.dashboard-card button,
.dashboard-card a.btn,
.dashboard-card a {
    background-color: #0288d1 !important; 
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 6px;
    padding: 8px 16px;
    border: none;
    transition: background-color 0.3s ease;
}
.dashboard-card button:hover,
.dashboard-card a.btn:hover,
.dashboard-card a:hover {
    background-color: #0277bd !important;
}




.dashboard-card button,
.dashboard-card .btn,
.dashboard-card .acessar-btn {
    background-color: #4fc3f7 !important; 
    color: #ffffff !important;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease;
}
.dashboard-card button:hover,
.dashboard-card .btn:hover,
.dashboard-card .acessar-btn:hover {
    background-color: #29b6f6 !important;
}

/* Estilos para o botão de tickets */
.btn-tickets {
    background-color: #ff9800 !important;
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 5px;
    width: 90%;
}

.btn-tickets:hover {
    background-color: #f57c00 !important;
}

/* Estilos para o botão de integrações ativas */
.btn-integracoes {
    background-color: #4caf50 !important;
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 5px;
    width: 90%;
}

.btn-integracoes:hover {
    background-color: #388e3c !important;
}

/* Estilos para o modal de tickets */
.tickets-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.tickets-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.tickets-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4fc3f7;
}

.tickets-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.tickets-modal-close:hover {
    color: #000;
}

.ticket-item {
    background: rgba(179, 229, 252, 0.95);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #4fc3f7;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ticket-id {
    font-weight: bold;
    color: #4fc3f7;
}

.ticket-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.ticket-status.open {
    background-color: #4caf50;
    color: white;
}

.ticket-status.pending {
    background-color: #ff9800;
    color: white;
}

.ticket-status.resolved {
    background-color: #2196f3;
    color: white;
}

.ticket-status.closed {
    background-color: #9e9e9e;
    color: white;
}

.ticket-status.aguardando-cliente {
    background-color: #fbc02d;
    color: white;
}
.ticket-status.em-tratativa {
    background-color: #00bcd4;
    color: white;
}
.ticket-status.em-analise {
    background-color: #1976d2;
    color: white;
}
.ticket-status.interno {
    background-color: #6d4c41;
    color: white;
}
.ticket-status.em-homologacao {
    background-color: #8bc34a;
    color: white;
}
.ticket-status.aguardando-hml {
    background-color: #cddc39;
    color: #333;
}
.ticket-status.aguardando-prod {
    background-color: #ffeb3b;
    color: #333;
}
.ticket-status.mvp {
    background-color: #e91e63;
    color: white;
}
.ticket-status.validacao-atendimento {
    background-color: #009688;
    color: white;
}
.ticket-status.aguardando-parceiros {
    background-color: #ff5722;
    color: white;
}
.ticket-status.pausado {
    background-color: #607d8b;
    color: white;
}
.ticket-status.validacao-cs {
    background-color: #3f51b5;
    color: white;
}
.ticket-status.desconhecido {
    background-color: #bdbdbd;
    color: white;
}

.ticket-subject {
    font-weight: bold;
    margin-bottom: 5px;
}

.ticket-description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.ticket-meta {
    font-size: 0.8em;
    color: #888;
}

.loading-tickets {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-tickets {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Estilos para o botão de nova implantação */
.btn-nova-implantacao {
    background-color: hsl(215, 35%, 18% , 1)!important;
    color: white !important;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
    font-size: 1em;
}

.btn-nova-implantacao:hover {
    background-color: hsl(215, 35%, 18% , 1) !important;
}

/* Estilos para o modal de implantação */
.implantacao-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.implantacao-modal-content {
    background-color: #fefefe;
    margin: 3% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.implantacao-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #9c27b0;
}

.implantacao-modal-header h2 {
    margin: 0;
    color: #9c27b0;
    font-size: 1.5em;
}

.implantacao-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.implantacao-modal-close:hover {
    color: #000;
}

.implantacao-form-group {
    margin-bottom: 20px;
}

.implantacao-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

/* ===== Styles para cartões de cliente (grid + menu hamburger) ===== */
.clients-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.homologacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.client-card-vertical{
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.client-card-top{
    display:flex;
    justify-content: flex-end;
}

.client-menu-btn{
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.client-menu{
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    display: none;
    min-width: 180px;
    z-index: 60;
}

.client-menu.active{ display:block; }

.client-menu button{ display:block; width:100%; text-align:left; padding:10px 12px; border:none; background:transparent; cursor:pointer; }
.client-menu button:hover{ background:#f5f7fb; }

.client-logo-vertical{
    width:64px; height:64px; border-radius:50%; background:#e9f7fe; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:20px; color:#0077a8; overflow:hidden;
}
.logo-preview-vertical{ width:100%; height:100%; object-fit:cover; border-radius:50%; }

.client-name-vertical{ margin:0; font-size:1.05em; font-weight:700; }
.client-status-text{ font-size:0.85em; color:#2e7d32; }
.client-status-text.inactive{ color:#d32f2f; }

.client-tags{ display:flex; gap:8px; flex-wrap:wrap; }
.client-tag{ background:#f1f6f9; padding:6px 10px; border-radius:999px; font-size:0.85em; }

.client-stats{ display:flex; gap:12px; align-items:center; }
.client-stats div{ display:flex; flex-direction:column; align-items:center; font-size:0.9em; }
.client-action-row{ display:flex; gap:8px; margin-top:8px; }
.client-action-row .btn{ flex:1; }

@media (max-width:700px){
    .clients-grid{ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* Força centralização dos contadores no rodapé do cartão */
.clients-grid .client-stats{
    width:100%;
    display:flex;
    justify-content:center;
    gap:18px;
    padding-bottom:6px;
}
.clients-grid .client-stats div{ min-width:72px; display:flex; flex-direction:column; align-items:center; }
.clients-grid .client-card-vertical{ align-items:center; text-align:center; }

/* Ajuste do botão '+' de adicionar cliente: deslocar levemente para a esquerda */
#addClientPlusBtn{
    transform: translateX(-8px) !important;
}

.implantacao-form-group input,
.implantacao-form-group select,
.implantacao-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.implantacao-form-group input:focus,
.implantacao-form-group select:focus,
.implantacao-form-group textarea:focus {
    outline: none;
    border-color: #9c27b0;
}

.implantacao-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.implantacao-form-row {
    display: flex;
    gap: 15px;
}

.implantacao-form-row .implantacao-form-group {
    flex: 1;
}

.btn-salvar-implantacao {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-salvar-implantacao:hover {
    background-color: #388e3c;
}

.btn-salvar-implantacao:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Estilos para os botões de editar e excluir reuniões */
.btn-editar-reuniao {
    background-color: #4caf50 !important;
    color: white !important;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    margin-right: 8px;
    transition: background-color 0.3s ease;
}

.btn-editar-reuniao:hover {
    background-color: #388e3c !important;
}

.btn-excluir-reuniao {
    background-color: #f44336 !important;
    color: white !important;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    margin-right: 8px;
    transition: background-color 0.3s ease;
}

.btn-excluir-reuniao:hover {
    background-color: #d32f2f !important;
}

.reuniao-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Estilos para o botão de editar homologação */
.btn-editar-homologacao {
    background-color: #4caf50 !important;
    color: white !important;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    margin-right: 8px;
    transition: background-color 0.3s ease;
}

.btn-editar-homologacao:hover {
    background-color: #388e3c !important;
}




.profile-info span {
    color: #ffffff !important;
}


.content-section,
.form-container,
.documents-grid,
.dashboards-grid,
.clients-grid,
#homologacao,
#release,
#reunioes,
#documents,
#relatorio-visita,
#relatorioVisita,
#cadastro-release,
#cadastroReuniao,
#cadastro-documento,
#cadastroHomologacao,
.modal-content,
.dashboard-card,
.client-card,
.client-card-vertical {
    background-color: rgba(179, 229, 252, 0.95) !important;
    color: #000000 !important;
}

input,
textarea,
select {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #999 !important;
    }
    :root {
    --primary-color: #b3e5fc;
    --secondary-color: #81d4fa;
    --accent-color: #4fc3f7;
    --hover-color: #29b6f6;
    --dark-bg: #a1dbe9;
    --error-color: #f44336;
    --success-color: #4caf50;
    --text-color: #000000;
    --text-dark: #333333;
    --shadow-color: #29b6f647;
}


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #ffffff;
            min-height: 100vh;
            color: var(--text-color);
        }

        .sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: 250px;
            height: 100vh;
            background:  hsl(215, 35%, 18% , 1);
            border-right: 1px solid rgba(255, 255, 255, 0.05);
            padding: 20px;
            box-shadow: 2px 0 5px rgba(0,0,0,0.2);
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow-y: auto;
        }

        .logo-container {
            margin-bottom: 20px;
            padding-bottom: 0px;
            border-bottom: none;
            width: 100%;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .your-custom-logo {
            width: 180px;
            height: auto;
            max-width: 100%;
            display: block;
            margin: 0 auto;
        }

        .nav-list {
            list-style: none;
            width: 100%;
        }

        .nav-item {
            margin: 10px 0;
            width: 100%;
        }

        .nav-item a, .nav-item button {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            color: #c7c7c7;
            text-decoration: none;
            font-size: 1.1em;
            border-radius: 8px;
            transition: background-color 0.3s ease, color 0.3s ease;
            width: 100%;
            background: none;
            border: none;
            text-align: left;
            cursor: pointer;
        }

        .nav-item a:hover, .nav-item button:hover, 
.nav-item.active a,
.nav-item.active button {
    background-color: #00e4ff ;
    color: #3a383b!important;
    transform: translateX(5px);
}


        .nav-item i {
            margin-right: 15px;
            font-size: 1.3em;
        }

        .main-content {
            margin-left: 250px;
            margin-top: 100px;
            padding: 30px;
            flex-grow: 1;
            position: relative;
            z-index: 1;
            width: calc(100% - 250px);
            overflow-x: hidden;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: hsl(215, 35%, 18% , 1);
            padding: 20px 25px;
            position: fixed;
            top: 0;
            left: 250px;
            right: 0;
            z-index: 1000;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            border-radius: 0;
        }

        .header h1 {
            font-size: 2.2em;
            color: #213448;
            text-shadow: none;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            margin: 0;
        }

        .profile-info {
            display: flex;
            align-items: center;
        }

        .profile-info img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 15px;
            border: 3px solid #29b6f6;
        }

        .profile-info span {
            font-size: 1.1em;
            font-weight: bold;
            color: #213448;
        }

        /* Quick access buttons - estilo em cards com ícone e texto centralizados */
        .quick-access .quick-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 26px 20px;
            border-radius: 12px;
            border: 1px solid rgba(0,0,0,0.06);
            background: var(--btn-bg, rgba(0,0,0,0.02));
            color: var(--btn-color, #333);
            cursor: pointer;
            transition: transform 0.18s ease, box-shadow 0.18s ease;
            text-align: center;
            min-height: 90px;
            font-size: 0.95em;
        }

        .quick-access .quick-btn i {
            font-size: 1.7em;
            margin-bottom: 10px;
            display: block;
            color: var(--btn-color, inherit);
        }

        .quick-access .quick-btn:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        }

        .quick-access .quick-btn .label {
            display: block;
            color: var(--btn-color, inherit);
            font-weight: 600;
            margin-top: 4px;
        }

        .content-section {
            display: none;
            background-color: #000000;
            padding: 30px;
            border-radius: 12px;
            min-height: 70vh;
        }

        .content-section.active {
            display: block;
        }

        #gestao.active {
            display: block;
        }

        
        .form-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 30px;
            background-color: #000000;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            margin-bottom: 30px;
        }

        #audit-log .form-container {
            max-width: 1200px; 
            width: calc(100% - 250px);
            margin-left: auto;
            margin-right: auto;
        }


        #cs .form-container {
            max-width: 1200px; 
            width: calc(100% - 250px);
            margin-left: auto;
            margin-right: auto;
        }


        #relatorioVisita .form-container {
            max-width: 1200px; 
            width: calc(100% - 250px);
            margin-left: auto;
            margin-right: auto;
        }

         #evaluations .form-container {
            max-width: 1200px; 
            width: calc(100% - 250px);
            margin-left: auto;
            margin-right: auto;
        }


        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            margin-bottom: 8px;
            font-weight: bold;
            color: rgba(var(--text-color-rgb), 0.9);
        }

        .form-group input[type="text"],
        .form-group input[type="email"],
        .form-group input[type="tel"],
        .form-group input[type="number"],
        .form-group input[type="url"],
        .form-group select,
        .form-group textarea {
            padding: 12px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 6px;
            background-color: #ffffff;
            color: var(--text-color);
            font-size: 1em;
            transition: border-color 0.3s ease, background-color 0.3s ease;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #999;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--accent-color);
            background-color: #ffffff;
            outline: none;
        }

        .btn-primary, .btn-secondary {
            padding: 12px 25px;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            margin-top: 10px;
        }

        .btn-primary {
            background-color:#ededed;
            color: var(--text-color);
            box-shadow: 0 2px 5px #cdcdcd;
        }

        .btn-primary:hover {
            background-color:#515050;
            transform: translateY(-2px);
        }

        .btn-secondary {
            background-color:hsl(215, 35%, 18% , 1);
            color: #ffffff;
            box-shadow: 0 2px 5px rgba(255, 255, 255, 0.5);
        }

        .btn-secondary:hover {
            background-color: var(--hover-color);
            transform: translateY(-2px);
        }

        .upload-area {
            border: 2px dashed rgba(255, 255, 255, 0.5);
            border-radius: 8px;
            padding: 30px;
            text-align: center;
            cursor: pointer;
            transition: border-color 0.3s ease, background-color 0.3s ease;
            margin-top: 5px;
        }

        .upload-area:hover {
            border-color: var(--accent-color);
            background-color: rgba(0, 0, 0, 0.85);
        }

        .upload-icon {
            font-size: 60px;
            margin-bottom: 10px;
            color: rgba(var(--text-color-rgb), 0.8);
        }

        .upload-area p {
            color: rgba(var(--text-color-rgb), 0.7);
            font-size: 1.1em;
        }

        
        .documents-grid, .clients-grid, .dashboards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            padding: 20px;
            background-color: #000000;
            border-radius: 10px;
            box-shadow: inset 0 0 10px rgba(255, 255, 255, 0);
            min-height: 200px;
        }

        .document-card, .client-card, .dashboard-card {
            background-color: #ffffff;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .document-card:hover, .client-card:hover, .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        .document-header, .client-card-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .document-type, .client-status-card {
            background-color: hsl(215, 35%, 18% , 1);
            color: var(--text-dark);
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.9em;
            font-weight: bold;
        }

        .tipodocumentorelease{
            background-color: hsl(215, 35%, 18% , 1);
            color: #ffffff;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.9em;
            font-weight: bold;
        }

        .client-status-card {
            background-color: var(--success-color);
            color: var(--text-color);
        }

        .delete-btn, .delete-btn-card {
            background: none;
            border: none;
            color: rgba(var(--text-color-rgb), 0.7);
            font-size: 1.2em;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .delete-btn:hover, .delete-btn-card:hover {
            color: var(--error-color);
        }

        .document-title, .client-name {
            font-size: 1.4em;
            font-weight: bold;
            margin-bottom: 5px;
            color: #000000;
        }

        .document-author, .client-email, .client-phone {
            font-size: 0.95em;
            color: rgba(var(--text-color-rgb), 0.7);
            margin-bottom: 10px;
        }

        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 50px 20px;
            color: rgba(var(--text-color-rgb), 0.6);
            font-size: 1.2em;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .empty-state-icon {
            font-size: 80px;
            margin-bottom: 20px;
            color: rgba(var(--text-color-rgb), 0.4);
        }

        
        .client-tabs {
            display: flex;
            margin-bottom: 30px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        }

        .client-tab-button {
            padding: 15px 25px;
            border: none;
            background: none;
            color: rgba(var(--text-color-rgb), 0.7);
            font-size: 1.1em;
            cursor: pointer;
            transition: color 0.3s ease, border-bottom 0.3s ease;
            margin-right: 15px;
            border-bottom: 2px solid transparent;
        }

        .client-tab-button.active {
            color: var(--text-color);
            border-bottom-color: var(--accent-color);
            font-weight: bold;
        }

        .client-tab-button:hover {
            color: var(--text-color);
        }

        .client-tab-content {
            display: none;
        }
        
        #add-client .upload-area {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 150px;
            cursor: pointer;
        }

        #add-client .upload-area:hover {
            background-color: rgba(0, 0, 0, 0.85);
        }

        #add-client .logo-preview {
            max-width: 100px;
            max-height: 100px;
            border-radius: 8px;
            object-fit: contain;
            margin-bottom: 10px;
        }

       
        .products-section {
            background-color: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            padding: 20px;
            margin-top: 20px;
        }
        .products-section h4 {
            margin-bottom: 15px;
            color: var(--text-color);
        }
        .products-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        .product-item {
            background-color: rgba(255, 255, 255, 0.85);
            padding: 8px 15px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-color);
            font-size: 0.9em;
            white-space: nowrap;
        }
        .product-item .delete-btn {
            font-size: 1em;
            padding: 3px 6px;
            background-color: rgba(255, 0, 0, 0.5);
            border-radius: 50%;
            line-height: 1;
            color: var(--text-color);
            transition: background-color 0.2s ease;
        }
        .product-item .delete-btn:hover {
            background-color: rgba(255, 0, 0, 0.8);
        }
        #productsList {
            margin-top: 15px;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 15px;
            display: none;
        }

        
        .clients-grid {
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        }
        .form-row {
            display: flex;
            gap: 20px;
            align-items: flex-end;
            flex-wrap: wrap;
        }
        
        .form-group {
            flex: 1;
            min-width: 200px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #333;
        }
        
        .form-group input,
        .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            background-color: white;
        }
        
        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #4fc3f7;
            box-shadow: 0 0 5px rgba(79, 195, 247, 0.3);
        }

        .client-card-vertical {
            background-color: #000000;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
        }

        .client-card-vertical:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        .client-card-top {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 10px;
        }
        
        .delete-btn-card {
            background-color: rgba(255, 0, 0, 0.5);
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;
            color: var(--text-color);
            font-size: 18px;
        }

        .delete-btn-card:hover {
            background-color: rgba(255, 0, 0, 0.8);
            transform: scale(1.1);
        }

        .client-logo-vertical {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.85);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 3em;
            font-weight: bold;
            color: var(--accent-color);
            margin: 0 auto 10px; /* centraliza horizontalmente */
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }

        .logo-preview-vertical {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .add-logo-text {
            font-size: 0.8em;
            color: rgba(var(--text-color-rgb), 0.6);
            margin-bottom: 10px;
        }

        .client-name-vertical {
            font-size: 1.5em;
            font-weight: bold;
            margin-bottom: 5px;
            color: var(--text-color);
            word-break: break-word;
        }

        .client-status-text {
            font-size: 0.9em;
            color: var(--success-color);
            margin-bottom: 15px;
        }

        .products-info-vertical {
            width: 100%;
            text-align: left;
            margin-bottom: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 15px;
        }

        .btn-vertical {
            padding: 10px 20px;
            background-color:#29b6f6;
            color: var(--text-color);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            width: 90%;
            margin-bottom: 10px;
        }

        .btn-vertical:hover {
            background-color: var(--hover-color);
            transform: translateY(-2px);
        }

        .btn-vertical.edit {
            background-color:#29b6f6;
            color: var(--text-color);
        }

        .btn-vertical.edit:hover {
            background-color:#29b6f6;
        }

      
        .dashboard-card {
            padding: 25px;
            background-color: #000000;
            text-align: center;
            justify-content: flex-start;
        }

        .dashboard-card .client-logo-vertical {
            width: 100px;
            height: 100px;
            margin: 0 auto 15px auto;
        }

        .dashboard-card h3 {
            font-size: 1.6em;
            margin-bottom: 15px;
            color: #000000;
        }

        .btn-bi {
            background-color: #29b6f6;
            color: var(--text-color);
            padding: 12px 25px;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: background-color 0.3s ease, transform 0.2s ease;
            margin-top: auto;
        }

        .btn-bi:hover {
            background-color: var(--secondary-color);
            transform: translateY(-2px);
        }

       
        @media (max-width: 992px) {
            .sidebar {
                width: 200px;
            }
            .main-content {
                margin-left: 200px;
                padding: 20px;
            }
            .header h1 {
                font-size: 1.8em;
            }
            .nav-item a, .nav-item button {
                font-size: 1em;
                padding: 10px 15px;
            }
        }

        @media (max-width: 768px) {
            .sidebar {
                position: static;
                width: 100%;
                height: auto;
                flex-direction: row;
                justify-content: center;
                padding: 15px;
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            }
            .logo-container {
                display: block;
                width: auto;
                text-align: center;
                margin-bottom: 15px;
            }
            .sidebar h2 {
                display: none;
            }
            .nav-list {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
            }
            .nav-item {
                margin: 5px;
                width: auto;
            }
            .nav-item a, .nav-item button {
                font-size: 0.9em;
                padding: 8px 12px;
            }
            .main-content {
                margin-left: 0;
                padding: 20px;
            }
            .header {
                flex-direction: column;
                align-items: flex-start;
                padding: 15px;
            }
            .header h1 {
                margin-bottom: 10px;
            }
            .form-row {
                flex-direction: column;
            }
            .documents-grid, .clients-grid, .dashboards-grid {
                grid-template-columns: 1fr;
                padding: 15px;
            }
            .client-tabs {
                flex-direction: column;
            }
            .client-tab-button {
                margin-bottom: 10px;
                margin-right: 0;
                text-align: center;
            }
        }

     
        #homologacao,
        #homologacao .form-group,
        #homologacao .upload-area,
        #homologacao .tab-content,
        #homologacao .header,
        #homologacao .filters-section,
        #homologacao .form-row {
            background-color:#ffffff;
            color: var(--text-color);
            border-radius: 8px;
            padding: 10px;
        }

        #homologacao input,
        #homologacao select,
        #homologacao textarea {
            background-color: #ffffff;
            color: var(--text-color);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 6px;
            padding: 10px;
        }

        #homologacao input::placeholder,
        #homologacao textarea::placeholder {
            color: rgba(0, 0, 0, 0.85);
        }

        #homologacao .upload-area:hover {
            background-color: rgba(0, 0, 0, 0.85);
        }

        #homologacao .tab-button {
            background: none;
            color: var(--text-color);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 10px 20px;
            border-radius: 6px;
            margin-right: 10px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        #homologacao .tab-button.active,
        #homologacao .tab-button:hover {
            background-color: rgba(0, 0, 0, 0.85);
        }

      
        #homologacoesGrid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .homologacao-card {
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .homologacao-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .homologacao-header {
            background: hsl(215, 35%, 18% , 1);
            padding: 16px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

        .homologacao-header h4 {
            margin: 0;
            font-size: 1.15em;
            color: white;
            font-weight: 600;
        }

        .homologacao-body {
            padding: 16px 20px;
            flex-grow: 1;
        }

        .homologacao-body p {
            font-size: 0.9em;
            margin: 8px 0;
            color: #333333;
        }

        .homologacao-body strong {
            color: #1e3a5f;
            font-weight: 600;
        }

        .homologacao-body a {
            color: #007bff !important;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .homologacao-body a:hover {
            color: #0056b3 !important;
            text-decoration: underline;
        }

        .homologacao-footer {
            display: flex;
            gap: 10px;
            padding: 12px 20px;
            border-top: 1px solid rgba(0, 0, 0, 0.08);
            background-color: #f9f9f9;
            flex-wrap: wrap;
        }

        .homologacao-footer .btn {
            flex: 1;
            min-width: 120px;
            padding: 10px 15px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9em;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .homologacao-footer .btn-primary {
            background-color: #007bff;
            color: white;
        }

        .homologacao-footer .btn-primary:hover {
            background-color: #0056b3;
        }

        .homologacao-footer .btn-success {
            background-color: #28a745;
            color: white;
        }

        .homologacao-footer .btn-success:hover {
            background-color: #218838;
        }

        .homologacao-footer .btn-danger {
            background-color: #dc3545;
            color: white;
        }

        .homologacao-footer .btn-danger:hover {
            background-color: #c82333;
        }

        
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .modal-overlay.visible {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background-color: #ffffff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            text-align: left;
            max-width: 800px;
            width: 90%;
            color: #333333;
            transform: translateY(-20px);
            transition: transform 0.3s ease;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-overlay.visible .modal-content {
            transform: translateY(0);
        }

        .modal-content h3 {
            margin-bottom: 20px;
            font-size: 1.5em;
            color: #4fc3f7;
        }

        .modal-content p {
            margin-bottom: 25px;
            font-size: 1.1em;
            line-height: 1.5;
        }


        .modal-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .modal-button {
            padding: 10px 25px;
            border: none;
            border-radius: 8px;
            font-size: 1em;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .modal-button.confirm {
            background-color: var(--error-color);
            color: var(--text-color);
        }

        .modal-button.confirm:hover {
            background-color: #d32f2f;
        }

        .modal-button.cancel {
            background-color: var(--secondary-color);
            color: var(--text-color);
        }

        .modal-button.cancel:hover {
            background-color: var(--hover-color);
        }

        .modal-button.ok {
            background-color: var(--success-color);
            color: var(--text-color);
        }

        .modal-button.ok:hover {
            background-color: #45a049;
        }

        .file-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 12px;
            background-color: rgba(0, 0, 0, 0.85);
            border-radius: 6px;
            margin-bottom: 8px;
        }

        .file-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .file-name {
            font-weight: bold;
        }

        .file-size {
            font-size: 0.85em;
            color: rgba(0, 0, 0, 0.85);
        }

        .remove-file {
            background: none;
            border: none;
            color: var(--error-color);
            cursor: pointer;
            font-size: 1.1em;
            transition: color 0.2s ease;
        }

        .remove-file:hover {
            color: #d32f2f;
        }

    
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.form-row .form-group {
  flex: 1 1 200px;
}

.input-padrao {
  background-color: #ffffff;
  color: white;
  border: 1px solid #1a4f91;
  border-radius: 6px;
  padding: 8px;
  width: 100%;
}
.input-padrao::placeholder {
  color: #aab8c2;
}

.btn-ver-ata {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
}
#documentsList .document-card,
#releaseList .document-card,
#clientDocumentsList .document-card,
#listaReunioes .reuniao-card,
#listaReunioes .reuniao-item {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  padding: 16px;
  margin-bottom: 12px;
}

.document-title,
.document-author,
.document-type,
.file-name,
.file-size,
.reuniao-card *,
.reuniao-item * {
  color: #000000 !important;
}

.documentotipodosetor{
  background-color: hsl(215, 35%, 18% , 1);
  color: #ffffff !important;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  padding: 10px;
  margin-bottom: 12px;
}

@media (max-width: 1200px) {
    #inicio .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #inicio div[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    #inicio .charts-section {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    #inicio .metrics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    #inicio .welcome-header {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }
    
    #inicio .welcome-header h2 {
        font-size: 1.8em !important;
    }
    
    #inicio .welcome-header p {
        font-size: 1em !important;
    }
    
    #inicio .main-layout {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
    
    #inicio .activities-section,
    #inicio .clients-highlight,
    #inicio .quick-access,
    #inicio .notifications {
        margin-bottom: 20px !important;
        padding: 20px !important;
    }
    
    #inicio .quick-access div[style*="grid-template-columns"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    
    #inicio .quick-access button {
        padding: 12px !important;
        font-size: 0.8em !important;
    }
    
    #inicio .quick-access button i {
        font-size: 1.2em !important;
    }
    
    #inicio .client-highlight-card {
        min-width: 150px !important;
        padding: 15px !important;
    }
    
    #inicio .metric-card {
        padding: 20px !important;
    }
    
    #inicio .metric-card h3 {
        font-size: 1em !important;
    }
    
    #inicio .metric-card p {
        font-size: 2em !important;
    }
    
    #inicio .metric-card div[style*="font-size: 3em"] {
        font-size: 2.5em !important;
    }
}

@media (max-width: 480px) {
    #inicio .quick-access div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    
    #inicio .main-layout {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    #inicio .metric-card {
        padding: 15px !important;
    }
    
    #inicio .metric-card p {
        font-size: 1.8em !important;
    }
    
    #inicio .welcome-header h2 {
        font-size: 1.5em !important;
    }
    
    #inicio .client-highlight-card {
        min-width: 120px !important;
        padding: 12px !important;
    }
    
    #inicio .activities-section div[style*="max-height"] {
        max-height: 300px !important;
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#inicio.active .welcome-header {
    animation: fadeInUp 0.6s ease-out;
}

#inicio.active .metric-card {
    animation: fadeInUp 0.6s ease-out;
}

#inicio.active .metric-card:nth-child(1) { animation-delay: 0.1s; }
#inicio.active .metric-card:nth-child(2) { animation-delay: 0.2s; }
#inicio.active .metric-card:nth-child(3) { animation-delay: 0.3s; }
#inicio.active .metric-card:nth-child(4) { animation-delay: 0.4s; }

#inicio.active .activities-section,
#inicio.active .clients-highlight {
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

#inicio.active .quick-access,
#inicio.active .notifications {
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

#inicio.active .charts-section {
    animation: fadeInUp 0.6s ease-out 0.7s both;
}


#inicio .charts-section > div {
    height: 300px !important;
    position: relative;
}

#inicio #homologacoesChart,
#inicio #releasesChart {
    max-height: 250px !important;
    height: 250px !important;
}


#inicio .main-layout {
    max-width: 100%;
    overflow: hidden;
}

#inicio .quick-access,
#inicio .notifications {
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#inicio .quick-access div[style*="grid-template-columns"] {
    max-width: 100%;
}

#inicio .quick-access button {
    min-width: 0;
    word-wrap: break-word;
    overflow: hidden;
}


@media (max-width: 768px) {
    #inicio .charts-section {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    #inicio .charts-section > div {
        height: 250px !important;
    }
    
    #inicio #homologacoesChart,
    #inicio #releasesChart {
        max-height: 200px !important;
        height: 200px !important;
    }
}

#gerenciar-logins.content-section {
    margin-top: -31px !important;   
    max-width: 1210px;
    margin: 10px auto 0 280px;
    padding: 0;
    background: none;
    border-radius: 15px;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

#gerenciar-logins > div:first-child {
    background: #b3e5fc !important;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(143, 143, 143, 0.3);
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    color: #000;
}

#gerenciar-logins .form-container {
    max-width: 1100px;
    margin: 0 auto 30px auto;
    background: #b3e5fc !important;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(41, 182, 246, 0.2);
    padding: 30px 25px;
    position: relative;
    z-index: 3;
}

#gerenciar-logins .form-row,
#gerenciar-logins .form-group {
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#gerenciar-logins input,
#gerenciar-logins select,
#gerenciar-logins textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #81d4fa !important;
    border-radius: 6px;
    padding: 10px;
}

#gerenciar-logins label {
    color: #333 !important;
    font-weight: bold;
}

#gerenciar-logins button.btn-primary {
    background-color: #29b6f6 !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 1.1em;
    box-shadow: 0 2px 5px #29b6f6;
    margin-top: 10px;
}

#gerenciar-logins button.btn-primary:hover {
    background-color: #4fc3f7 !important;
}

#gerenciar-logins > div:last-child {
    background: #b3e5fc !important;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(41, 182, 246, 0.2);
    padding: 25px;
    margin-top: 30px;
}
    
.permissions-container {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #4fc3f7;
}

.subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #34495e;
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #4fc3f7;
    grid-column: 1 / -1;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.permission-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 50px;
}

.permission-item:hover {
    background-color: #e3f2fd;
    border-color: #4fc3f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(79, 195, 247, 0.2);
}

.permission-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4fc3f7;
    cursor: pointer;
}

.permission-item label {
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    flex: 1;
    margin: 0;
    line-height: 1.4;
}

.permission-item.checked {
    background-color: #e8f5e8;
    border-color: #4caf50;
}

.permission-item.checked:hover {
    background-color: #c8e6c9;
}


@media (max-width: 768px) {
    .permissions-grid {
        grid-template-columns: 1fr;
    }
    
    .permissions-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .permission-item {
        padding: 10px 12px;
        min-height: 45px;
    }
    
    .permission-item label {
        font-size: 13px;
    }
}

.client-permissions-container {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.client-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #4fc3f7;
}

.client-subsection-title {
    font-size: 18px;
    font-weight: 600;
    color: #34495e;
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #4fc3f7;
    grid-column: 1 / -1;
}

.client-permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.client-permission-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 50px;
}

.client-permission-item:hover {
    background-color: #e3f2fd;
    border-color: #4fc3f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(79, 195, 247, 0.2);
}

.client-permission-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4fc3f7;
    cursor: pointer;
}

.client-permission-item label {
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    flex: 1;
    margin: 0;
    line-height: 1.4;
}

.client-permission-item.checked {
    background-color: #e8f5e8;
    border-color: #4caf50;
}

.client-permission-item.checked:hover {
    background-color: #c8e6c9;
}


@media (max-width: 768px) {
    .client-permissions-grid {
        grid-template-columns: 1fr;
    }
    
    .client-permissions-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .client-permission-item {
        padding: 10px 12px;
        min-height: 45px;
    }
    
    .client-permission-item label {
        font-size: 13px;
    }
}
button, a.button, .btn {
    font-weight: 500;
}

button:contains('Ver Ata'),
a:contains('Ver Ata'),
.ver-ata,
.ver-ata-btn {
    background-color: #0288d1 !important;
    color: white !important;
}

.reuniao-item,
.ata-box,
.ata-list,
.card,
.card-body,
.reuniao-card {
    background-color: rgba(179, 229, 252, 0.95) !important;
    color: #000000 !important;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.reuniao-item,
.ata-box,
.ata-list,
.card,
.card-body,
.reuniao-card {
    background-color: rgba(179, 229, 252, 0.95) !important;
    color: #000000 !important;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.dashboard-card button,
.dashboard-card a.btn,
.dashboard-card a {
    background-color: #0288d1 !important; 
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 6px;
    padding: 8px 16px;
    border: none;
    transition: background-color 0.3s ease;
}
.dashboard-card button:hover,
.dashboard-card a.btn:hover,
.dashboard-card a:hover {
    background-color: #0277bd !important;
}

.dashboard-card button,
.dashboard-card .btn,
.dashboard-card .acessar-btn {
    background-color: #4fc3f7 !important; 
    color: #ffffff !important;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease;
}
.dashboard-card button:hover,
.dashboard-card .btn:hover,
.dashboard-card .acessar-btn:hover {
    background-color: #29b6f6 !important;
}

/* Estilos para o botão de tickets */
.btn-tickets {
    background-color: #ff9800 !important;
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 5px;
    width: 90%;
}

.btn-tickets:hover {
    background-color: #f57c00 !important;
}

/* Estilos para o botão de integrações ativas */
.btn-integracoes {
    background-color: #4caf50 !important;
    color: white !important;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 5px;
    width: 90%;
}

.btn-integracoes:hover {
    background-color: #388e3c !important;
}

/* Estilos para o modal de tickets */
.tickets-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.tickets-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.tickets-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4fc3f7;
}

.tickets-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.tickets-modal-close:hover {
    color: #000;
}

.ticket-item {
    background: rgba(179, 229, 252, 0.95);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #4fc3f7;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ticket-id {
    font-weight: bold;
    color: #4fc3f7;
}

.ticket-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.ticket-status.open {
    background-color: #4caf50;
    color: white;
}

.ticket-status.pending {
    background-color: #ff9800;
    color: white;
}

.ticket-status.resolved {
    background-color: #2196f3;
    color: white;
}

.ticket-status.closed {
    background-color: #9e9e9e;
    color: white;
}

.ticket-subject {
    font-weight: bold;
    margin-bottom: 5px;
}

.ticket-description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.ticket-meta {
    font-size: 0.8em;
    color: #888;
}

.loading-tickets {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-tickets {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Estilos para o botão de nova implantação */
.btn-nova-implantacao {
    background-color: hsl(215, 35%, 18% , 1) !important;
    color: white !important;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
    font-size: 1em;
}

.btn-nova-implantacao:hover {
    background-color: hsl(215, 34%, 37%) !important;
}

/* Estilos para o modal de implantação */
.implantacao-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.implantacao-modal-content {
    background-color: #fefefe;
    margin: 3% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.implantacao-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #9c27b0;
}

.implantacao-modal-header h2 {
    margin: 0;
    color: #9c27b0;
    font-size: 1.5em;
}

.implantacao-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.implantacao-modal-close:hover {
    color: #000;
}

/* Botão pequeno '+' ao lado de Atualizar na aba de Implantações */
.btn-add-implantacao {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    color: #333;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-add-implantacao:hover {
    background: #f6f6f6;
}

.implantacao-form-group {
    margin-bottom: 20px;
}

.implantacao-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.implantacao-form-group input,
.implantacao-form-group select,
.implantacao-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.implantacao-form-group input:focus,
.implantacao-form-group select:focus,
.implantacao-form-group textarea:focus {
    outline: none;
    border-color: #9c27b0;
}

.implantacao-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.implantacao-form-row {
    display: flex;
    gap: 15px;
}

.implantacao-form-row .implantacao-form-group {
    flex: 1;
}

.btn-salvar-implantacao {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-salvar-implantacao:hover {
    background-color: #388e3c;
}

.btn-salvar-implantacao:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Estilos para os botões de editar e excluir reuniões */
.btn-editar-reuniao {
    background-color: #4caf50 !important;
    color: white !important;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    margin-right: 8px;
    transition: background-color 0.3s ease;
}

.btn-editar-reuniao:hover {
    background-color: #388e3c !important;
}

.btn-excluir-reuniao {
    background-color: #f44336 !important;
    color: white !important;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    margin-right: 8px;
    transition: background-color 0.3s ease;
}

.btn-excluir-reuniao:hover {
    background-color: #d32f2f !important;
}

.reuniao-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Estilos para o botão de editar homologação */
.btn-editar-homologacao {
    background-color: #4caf50 !important;
    color: white !important;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    margin-right: 8px;
    transition: background-color 0.3s ease;
}

.btn-editar-homologacao:hover {
    background-color: #388e3c !important;
}

.profile-info span {
        color: #213448 ;
}

header h1, .top-bar h1, .top-bar-title, .header-title {
    color: #ffffff !important;
}

.content-section,
.form-container,
.documents-grid,
.dashboards-grid,
.clients-grid,
#homologacao,
#release,
#reunioes,
#documents,
#relatorio-visita,
#relatorioVisita,
#cadastro-release,
#cadastroReuniao,
#cadastro-documento,
#cadastroHomologacao,
.homologacao-card,
.modal-content,
.dashboard-card,
.client-card,
.client-card-vertical{
    background-color: #ffffff !important;
    color: #000000 !important;
    border-radius: 10px;
}

input,
textarea,
select {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #999 !important;
}

#productsList {
  display: block !important;
  visibility: visible !important;
  max-height: none !important;
  overflow: visible !important;
}

.client-status-text.inactive {
    color: #f44336 !important; 
}

/* Estilos para a Seção de Treinamento */
.product-item-training:hover {
    background: hsl(215, 35%, 18% , 1) !important;
    color: white !important;
    transform: translateX(5px);
}

.product-item-training.active {
    background: hsl(216, 35%, 28%) !important;
    color: white !important;
}

.upload-area {
    border: 2px dashed #4fc3f7;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(79, 195, 247, 0.1);
}

.upload-area:hover {
    border-color: #29b6f6;
    background: rgba(41, 182, 246, 0.2);
}

.upload-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.video-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid #4fc3f7;
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-card.playing {
    border-left-color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.video-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.video-level {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.video-level.basico {
    background: #e8f5e8;
    color: #4caf50;
}

.video-level.intermediario {
    background: #fff3e0;
    color: #ff9800;
}

.video-level.avancado {
    background: #ffebee;
    color: #f44336;
}

.video-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

.video-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.video-action-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.play-btn {
    background: #4caf50;
    color: white;
}

.play-btn:hover {
    background: #45a049;
}

.edit-btn {
    background: #2196f3;
    color: white;
}

.edit-btn:hover {
    background: #1976d2;
}

.delete-video-btn {
    background: #f44336;
    color: white;
}

.delete-video-btn:hover {
    background: #d32f2f;
}

/* Responsividade para Treinamento */
@media (max-width: 768px) {
    #treinamento > div:nth-child(2) {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    #treinamento .product-item-training {
        display: inline-block !important;
        margin-right: 10px !important;
        margin-bottom: 10px !important;
    }
    
    #productsList {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
}
/* Estilos para o modal de integrações */
.integracoes-info {
    background: rgba(179, 229, 252, 0.95);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #4fc3f7;
}

.integracoes-info p {
    margin: 5px 0;
    color: #000;
}

.integracao-item {
    background: rgba(179, 229, 252, 0.95);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #4fc3f7;
}

.integracao-item.erro {
    border-left-color: #29b6f6;
}

.integracao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.integracao-sistema {
    font-size: 1.1em;
    color: #000;
}

.integracao-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
}

.integracao-status.ativo {
    background-color: #198975;
    color: white;
}

.integracao-status.erro {
    background-color: #bc4a4a;
    color: white;
}

.integracao-details p {
    margin: 5px 0;
    color: #000;
}

.error-message {
    text-align: center;
    padding: 20px;
    color: #f44336;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}
/* Estilos específicos para o modal de edição de login */
#modalEditarLogin .modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

#editPermissoesContainer .permission-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.2s ease;
}

#editPermissoesContainer .permission-item:hover {
    background-color: #e3f2fd;
    border-color: #4fc3f7;
}

#editPermissoesContainer .permission-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4fc3f7;
}

#editPermissoesContainer .permission-item label {
/* Forçar grid e visibilidade do container de permissões */
#editPermissoesContainer {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: 10px !important;
    background: transparent !important;
    color: #222 !important;
    padding: 10px 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}
    font-size: 14px;
    cursor: pointer;
    margin: 0;
    flex: 1;
}

#loginsTableBody tr:nth-child(even) {
    background-color: #f8f9fa;
}

#loginsTableBody tr:hover {
    background-color: #e3f2fd;
}

.permission-badge {
    background: #4fc3f7;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin: 2px;
    display: inline-block;
}

/* Estilos do Modal de Edição de Usuário */
.modal-editar-usuario {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.modal-editar-usuario-content {
    background-color: #ffffff;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-editar-usuario-header {
    background: linear-gradient(135deg, #4fc3f7, #29b6f6);
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-editar-usuario-header h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
}

.modal-editar-usuario-header h2 i {
    margin-right: 10px;
}

.modal-editar-usuario-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
}

.modal-editar-usuario-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-editar-usuario-body {
    padding: 30px;
    background-color: #f8f9fa;
}

/* Seção de Informações do Usuário */
.usuario-info-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.usuario-info-section h3 {
    color: #4fc3f7;
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #e3f2fd;
    padding-bottom: 10px;
}

.usuario-info-section h3 i {
    margin-right: 10px;
}

.usuario-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item label {
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
}

.info-item span {
    font-size: 1em;
    color: #333;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.ativo {
    background-color: #4caf50;
    color: white;
}

.status-badge.inativo {
    background-color: #f44336;
    color: white;
}

.status-badge.suspenso {
    background-color: #ff9800;
    color: white;
}

/* Seção de Permissões */
.permissoes-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.permissoes-section h3 {
    color: #4fc3f7;
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #e3f2fd;
    padding-bottom: 10px;
}

.permissoes-section h3 i {
    margin-right: 10px;
}

.permissoes-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.permissoes-disponiveis,
.permissoes-usuario {
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fafafa;
}

.permissoes-disponiveis h4,
.permissoes-usuario h4 {
    margin: 0 0 15px 0;
    color: #555;
    font-size: 1em;
    font-weight: 600;
}

.permissoes-search {
    position: relative;
    margin-bottom: 15px;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

.permissoes-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.permissoes-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: white;
}

.permissao-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.permissao-item:last-child {
    border-bottom: none;
}

.permissao-item:hover {
    background-color: #f8f9fa;
}

.permissao-info {
    flex: 1;
}

.permissao-nome {
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.permissao-descricao {
    font-size: 0.8em;
    color: #666;
}

.permissao-actions {
    display: flex;
    gap: 5px;
}

.btn-adicionar,
.btn-remover {
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-adicionar {
    background-color: #4caf50;
    color: white;
}

.btn-adicionar:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}

.btn-remover {
    background-color: #f44336;
    color: white;
}

.btn-remover:hover {
    background-color: #da190b;
    transform: translateY(-1px);
}

/* Seção de Senha */
.senha-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.senha-section h3 {
    color: #4fc3f7;
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 2px solid #e3f2fd;
    padding-bottom: 10px;
}

.senha-section h3 i {
    margin-right: 10px;
}

.senha-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #555;
    font-size: 0.9em;
}

.password-input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #4fc3f7;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    font-size: 0.8em;
    margin-top: 5px;
    display: block;
}

.password-match {
    font-size: 0.8em;
    margin-top: 5px;
}

.password-match.match {
    color: #4caf50;
}

.password-match.no-match {
    color: #f44336;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4fc3f7;
}

.checkbox-group label {
    font-size: 0.9em;
    color: #555;
    cursor: pointer;
}

/* Footer do Modal */
.modal-editar-usuario-footer {
    background-color: #f8f9fa;
    padding: 20px 30px;
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 1px solid #e0e0e0;
}

.btn-cancelar,
.btn-salvar {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cancelar {
    background-color: #6c757d;
    color: white;
}

.btn-cancelar:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
}

.btn-salvar {
    background-color: #4fc3f7;
    color: white;
}

.btn-salvar:hover {
    background-color: #29b6f6;
    transform: translateY(-1px);
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-editar-usuario-content {
        width: 98%;
        margin: 1% auto;
        max-height: 98vh;
    }
    
    .permissoes-container {
        grid-template-columns: 1fr;
    }
    
    .usuario-info-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-editar-usuario-header,
    .modal-editar-usuario-body,
    .modal-editar-usuario-footer {
        padding: 20px;
    }
    
    .modal-editar-usuario-footer {
        flex-direction: column;
    }
    
    .btn-cancelar,
    .btn-salvar {
        width: 100%;
        justify-content: center;
    }
}

/* Scrollbar personalizada */
.permissoes-list::-webkit-scrollbar,
.modal-editar-usuario-content::-webkit-scrollbar {
    width: 6px;
}

.permissoes-list::-webkit-scrollbar-track,
.modal-editar-usuario-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.permissoes-list::-webkit-scrollbar-thumb,
.modal-editar-usuario-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.permissoes-list::-webkit-scrollbar-thumb:hover,
.modal-editar-usuario-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Estilos para a Tela de Auditoria */
#audit-log.content-section {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.audit-table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.audit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.audit-table th {
    background-color: #f8f9fa;
    color: #333;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid #dee2e6;
}

.audit-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.audit-table tr:hover {
    background-color: #f1f8ff;
}

.badge-op {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    color: white;
}

.badge-insert { background-color: #28a745; }
.badge-update { background-color: #ffc107; color: #333; }
.badge-delete { background-color: #dc3545; }

.btn-ver-detalhes {
    background: #4fc3f7;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-ver-detalhes:hover {
    background: #29b6f6;
}

/* Modal de Detalhes da Auditoria */
.audit-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.audit-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 25px;
    border-radius: 12px;
    width: 80%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.audit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.audit-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.audit-payloads {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .audit-payloads { grid-template-columns: 1fr; }
}

.payload-box {
    background: #272822;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
}

.payload-box h4 {
    margin-top: 0;
    color: #a6e22e;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
}

.payload-box pre {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85em;
    white-space: pre-wrap;
}

/* Estilo para container do BI por Time */
#bi-time-container {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#bi-time-container iframe {
    overflow: hidden;
}

#bi-analytics-submenu li button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 5px;
    transition: all 0.2s ease;
}

/* Reuniões: grid de clientes e cards compactos */
#listaReunioes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px; /* espaço entre empresas/cards */
    align-items: start;
    margin-top: 8px;
    grid-auto-rows: minmax(140px, auto); /* força linhas consistentes evitando sobreposição */
}

.reuniao-client-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.98));
    border: 1px solid rgba(229,229,229,1);
    border-radius: 10px;
    padding: 12px;
    min-height: 140px; /* altura mínima, permite conteúdo maior sem sobreposição */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

.reuniao-client-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    z-index: 3; /* garante que o card em hover fique sobre os vizinhos sem empurrá-los */
}

.reuniao-client-card .client-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:8px;
}

.reuniao-client-card h4,
.reuniao-client-card .client-name {
    font-weight: 700;
    font-size: 1rem;
    color: #0277bd;
    margin: 0;
}

.reuniao-client-card .client-info {
    color: #555;
    font-size: 0.92rem;
}

.reuniao-client-card .client-count {
    background: #e1f5fe;
    color: #0277bd;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
}

.reuniao-client-card .client-last {
    font-size: 0.85rem;
    color: #666;
}

/* Ajuste do modal de reuniões para largura confortável */
#reunioesModal .modal-content {
    max-width: 900px;
    width: 95%;
    padding: 18px;
}

/* Estilo do modal de reuniões para ficar igual ao exemplo */
#reunioesModal .modal-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    padding: 18px 20px;
    max-width: 920px;
}

#reunioesModal .reunioes-modal-header {
    align-items: center;
}

#reunioesModal .reunioes-modal-icon {
    width:48px;
    height:48px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#e8f5ff;
    color:#1976d2;
    font-size:20px;
}

#reunioesModal .reunioes-modal-title {
    font-size:1.2rem;
    color:#0d47a1;
    margin:0 0 4px 0;
}

#reunioesModal .reunioes-modal-subtitle {
    color:#6d6d6d;
    font-size:0.9rem;
}

#reunioesModal .reunioes-modal-new-btn {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    color: #333;
    padding:10px 14px;
    border-radius:10px;
    box-shadow: none;
}

/* Itens dentro do modal: cartões claros azuis com botão Editar/Excluir */
#reunioesModalList .document-card {
    background: #ededed; /* tom de azul claro */
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

#reunioesModalList .document-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: #0b3f60;
}

#reunioesModalList .document-author {
    color:#145a7a;
    font-size:0.9rem;
    margin-top:6px;
}

#reunioesModalList .btn-secondary {
    background:#12304a;
    color:white;
    padding:8px 14px;
    border-radius:8px;
}

#reunioesModalList .btn-secondary[style] {
    /* mantém override de excluir caso definido inline */
}

#reunioesModalList a.btn-secondary {
    text-decoration:none;
}

