/* Estilo geral para o container */
.vendor-payments {
    font-family: 'Poppins', sans-serif;
    /*margin: 20px;*/
    max-width: 100%; /* Permite que o Elementor controle a largura */
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Estilo para o formulário de filtros */
.vendor-payments .filters {
    display: flex;
    flex-wrap: nowrap; /* Impede que os elementos quebrem para a próxima linha */
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.vendor-payments .filters label {
    font-weight: bold;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    flex-shrink: 0; /* Evita que os rótulos sejam reduzidos */
}

.vendor-payments .filters input,
.vendor-payments .filters select,
.vendor-payments .filters button {
    padding: 8px 10px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex-shrink: 0; /* Evita que os elementos sejam reduzidos */
}

.vendor-payments .filters input[type="number"] {
    max-width: 80px;
}

.vendor-payments .filters button {
    background-color: #47767E;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Garante que o texto dentro do botão não quebre */
}

.vendor-payments .filters button:hover {
    background-color: #35585E;
}

/* Estilo para a tabela */
.vendor-payments .payments-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
}

.vendor-payments .payments-table thead th {
    background-color: #47767E;
    color: white;
    text-align: left;
    padding: 12px;
    font-weight: bold;
    border-bottom: 2px solid #35585E;
}

.vendor-payments .payments-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
}

.vendor-payments .payments-table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

.vendor-payments .payments-table tbody tr:hover {
    background-color: #eaeaea;
}

.vendor-payments .payments-table a {
    color: #47767E;
    text-decoration: none;
    font-weight: bold;
}

.vendor-payments .payments-table a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .vendor-payments .filters {
        flex-direction: column;
        gap: 10px;
    }

    .vendor-payments .filters input,
    .vendor-payments .filters select,
    .vendor-payments .filters button {
        width: 100%;
    }

    .vendor-payments .payments-table tbody td,
    .vendor-payments .payments-table thead th {
        font-size: 12px;
        padding: 8px;
    }
}
