/* Adicionando barra de rolagem horizontal */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Suporte para rolagem suave no mobile */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #009846;
    color: white;
}

table td {
    background-color: #f9f9f9;
}

/* Botões de ação */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.action-buttons a {
    padding: 8px 12px;
    text-decoration: none;
    background-color: #009846;
    color: white;
    border-radius: 5px;
    display: inline-block;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.action-buttons a:hover {
    background-color: #007a36;
}

/* Formulários */
.form-group {
    margin-bottom: 15px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #009846;
}

button.btn {
    padding: 10px 20px;
    background-color: #009846;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
    width: 100%;
}

button.btn:hover {
    background-color: #007a36;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    table {
        min-width: 600px; /* Defina uma largura mínima para ativar a rolagem horizontal */
    }

    .form-group {
        margin-bottom: 10px;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    button.btn {
        padding: 15px;
        width: 100%;
    }
}
