/* Importa o menu.css para manter a identidade visual */
@import url('menu.css');

/* --- STATUS DO SERVIDOR --- */
#status-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.2vw;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    border-radius: 14px;
    width: 35%;
    max-height: 70vh;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0px 0px 20px rgba(0, 218, 136, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Indicadores de status */
.status-indicador {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 6px;
    border: 2px solid #ffffff;
}

.online {
    background: #00da88;
    box-shadow: 0px 0px 15px rgba(0, 218, 136, 0.8);
}

.offline {
    background: #ff4c4c;
    box-shadow: 0px 0px 15px rgba(255, 76, 76, 0.8);
}

/* Títulos */
#status-container h2 {
    color: #00da88;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Indicação da última atualização */
#ultima-atualizacao {
    color: #bbbbbb;
    font-size: 0.9em;
    margin-top: 5px;
    opacity: 0.8;
}

/* Mensagem de estado offline */
.aviso-offline {
    background-color: rgba(255, 76, 76, 0.1);
    border: 1px solid #ff4c4c;
    color: #ff4c4c;
    padding: 8px 100px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
}

/* ===== MOBILE RESPONSIVO (status.css) ===== */
@media screen and (max-width: 768px) {
  #status-container {
    width: 90%;
    padding: 10px;
    font-size: 3vw;
  }
  #status-container h2 {
    font-size: 5vw;
  }
  #ultima-atualizacao {
    font-size: 2.5vw;
  }
  .status-indicador {
    width: 10px;
    height: 10px;
  }
  .aviso-offline {
    font-size: 2.5vw;
    padding: 5px 10px;
  }
}