/* Reset e fundo geral */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #0b0b0b;
    color: #fff;
}

/* Container geral */
.adm-container {
    display: flex;
    min-height: 100vh;
}

/* Menu lateral */
.adm-sidebar {
    width: 220px;
    background: #111;
    padding: 20px;
    box-sizing: border-box;
}

.adm-sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
}

.adm-sidebar ul {
    list-style: none;
    padding: 0;
}

.adm-sidebar ul li {
    padding: 12px 10px;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: 0.3s;
}

.adm-sidebar ul li:hover,
.adm-sidebar ul li.active {
    background: linear-gradient(90deg, #ff00cc, #4b00ff, #00ffff);
    color: #fff;
}

/* Conteúdo principal */
.adm-main {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

/* Cada página */
.page-card {
    display: none;
    background: rgba(20, 20, 20, 0.9);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-card h1 {
    margin-top: 0;
}

/* Exibe apenas a ativa */
.page-card.active {
    display: block;
}

/* Modal dark para painel */

.modal-content{
background:#1e1e1e;
color:#fff;
border:1px solid #333;
}

.modal-header{
border-bottom:1px solid #333;
}

.modal-footer{
border-top:1px solid #333;
}

.modal-body input,
.modal-body select{
background:#2b2b2b;
color:#fff;
border:1px solid #444;
}

.modal-body input:focus{
background:#2b2b2b;
color:#fff;
border-color:#666;
box-shadow:none;
}

/* Inputs desabilitados (ex: ID, registro, login) */

.modal-body input:disabled,
.modal-body input[disabled]{
background:#2b2b2b !important;
color:#aaa !important;
border:1px solid #444 !important;
}

/* Inputs readonly */

.modal-body input[readonly]{
background:#2b2b2b !important;
color:#aaa !important;
border:1px solid #444 !important;
}

/* BOTÃO WHATSAPP FLUTUANTE */
.btn-whatsapp-flutuante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff !important;
    padding: 8px 15px; /* Diminuí um pouco o padding */
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 13px; /* Fonte levemente menor para caber tudo */
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 9999;
    transition: 0.3s;
}

.btn-whatsapp-flutuante img {
    width: 20px; /* Ícone um pouco menor */
    height: 20px;
    margin-right: 8px;
}

/* AJUSTE MOBILE - MANTER O TEXTO */
@media (max-width: 480px) {
    .btn-whatsapp-flutuante {
        bottom: 15px; /* Sobe um pouco mais */
        right: 15px;
        font-size: 12px; /* Fonte compacta para o mobile */
        padding: 6px 12px;
    }
    .btn-whatsapp-flutuante span {
        display: inline !important; /* Força o texto a aparecer */
    }
}