/* css/style.css */
body { 
    background: #050505; 
    color: #fff; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    padding: 10px; 
    margin: 0;
    
/* Container Principal - Mantendo o estilo do seu print */
.rfc-monitor {
    background: #000000 !important; /* Fundo preto sólido igual ao print */
    border: 1px solid #c9ff00 !important;
    border-radius: 20px !important; /* Bordas bem arredondadas como no print */
    
    /* AJUSTE DE ALTURA */
    padding: 10px 15px !important;
    margin: 15px auto !important;
    height: auto !important; /* Deixa o conteúdo definir a altura */
    min-height: 50px !important; /* Garante que não fique pequeno demais */
    
    width: 85% !important;
    max-width: 320px !important;
    text-align: center !important;
    box-sizing: border-box !important; /* Impede que o padding "estoure" a caixa */
    display: block !important;
}

/* Título e Valor - Mantendo um embaixo do outro (como no seu original) */
.rfc-monitor .label {
    display: block !important;
    color: #888 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
}

.rfc-monitor .valor {
    display: block !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-bottom: 8px !important;
}

/* Caixa do Online - Estilo "Pílula" do Print */
.rfc-online-box {
    display: inline-flex !important; /* Inline-flex mantém a largura automática */
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #111 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    border: 1px solid #222 !important;
}

.rfc-dot {
    width: 8px !important;
    height: 8px !important;
    background-color: #00ff00 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 5px #00ff00 !important;
}

.rfc-online-txt {
    color: #00ff00 !important;
    font-size: 12px !important;
    font-weight: bold !important;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Container de Integrações Externas */
.telegram-module {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #333;
}

.telegram-title {
    color: #0088cc;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Os Quadradinhos de Post */
.card-post {
    background: #050505;
    border: 1px solid #1a1a1a;
    border-left: 4px solid #0088cc; /* Barra lateral Azul Telegram */
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card-post:hover {
    border-color: #0088cc;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.2);
}

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

.badge-group {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.post-body {
    color: #ccc;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
}

.post-footer {
    margin-top: 10px;
    font-size: 10px;
    color: #444;
    text-align: right;
}

.container { 
    width: 95%; /* Ocupa quase tudo no celular */
    max-width: 600px; /* Não passa disso no PC */
    margin: 20px auto; 
    background: #111; 
    padding: 20px; 
    border: 1px solid #ccff00; 
    border-radius: 12px; 
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.1);
    box-sizing: border-box;
}

h1 { color: #ccff00; text-align: center; font-size: 1.5rem; text-transform: uppercase; margin-bottom: 25px; }

label { color: #ccff00; font-size: 12px; display: block; margin-top: 15px; font-weight: bold; }

input, textarea { 
    width: 100%; 
    padding: 12px; 
    background: #000; 
    border: 1px solid #333; 
    color: #ccff00; 
    margin-top: 5px; 
    border-radius: 8px; 
    box-sizing: border-box; /* Garante que o padding não quebre a largura */
    font-size: 16px; /* Evita que o iPhone dê zoom automático no input */
}

input:focus, textarea:focus { border-color: #ccff00; outline: none; box-shadow: 0 0 5px #ccff00; }

.btn-save { 
    background: #ccff00; 
    color: #000; 
    border: none; 
    width: 100%; 
    padding: 15px; 
    font-weight: bold; 
    margin-top: 25px; 
    cursor: pointer; 
    text-transform: uppercase; 
    border-radius: 8px;
    font-size: 1rem;
}

.btn-save:hover { background: #fff; box-shadow: 0 0 15px #ccff00; transition: 0.3s; }

.btn-consulta { 
    color: #ccff00; 
    text-decoration: none; 
    display: block; 
    text-align: center; 
    margin-top: 20px; 
    font-size: 20px; 
    border: none;
    padding: 7px;
    border-radius: 1px;
}

/* Grid de fotos responsivo */
.foto-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
    gap: 10px; 
    margin-top: 15px;
}

.foto-grid img {
    width: 100%; 
    height: 150px; 
    object-fit: cover; 
    border: 1px solid #333; 
    border-radius: 6px;

    /* Mantenha tudo que você já tem e adicione/verifique estas linhas no final */

.btn-menu {
    cursor: pointer;
}

/* Ajuste para o formulário não ficar colado no topo em telas menores */
.container {
    margin: 10px auto; 
}

/* Garantir que o texto dentro do botão amarelo seja sempre visível (Preto) */
.btn-menu, .btn-save {
    color: #000 !important;
}

}
