

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #8B0000; /* Mesma cor da sidebar esquerda */
    padding: 12px 0;
    z-index: 1; /* Maior que o sidebar direito */
  }
  
  .top-bar .logo-img {
    max-height: 50px; /* Ajuste conforme necessário */
  }

.logo-img {
    height: 50px;
    margin-top: 10px;
}

@media (max-width: 700px) {
    .form-container {
        max-width: 10px;
        margin-right: 0;
    }

    .main-content {
        margin-left: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .sidebar {
        display: none;
    }
}

.error-flag {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745; /* Verde, conforme o padrão Bootstrap success */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
  }
  
  .error-flag.visible {
    opacity: 1;
    visibility: visible;
  }


  .table-custom thead th {
    background-color: #8B0000; /* cor desejada, por exemplo vermelho escuro */
    color: white; /* cor do texto branco */
}

tr.pagamento-pendente > td {
    background-color: #ffb3b3 !important;
}

#loader-container{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}