.noticias-container {
    width: 100%;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    border-collapse: collapse;
}

.noticias-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 20px;
    background: #f4f4f4;
    border-bottom: 2px solid #ccc;
    font-size: 16px;
    font-weight: bold;
}

.noticias-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
    transition: background 0.3s;
}

.noticias-item:hover {
    background: #f9f9f9;
}

.noticias-item .foto {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 10px;
}

.noticias-item .info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
	text-align:left;
}

.noticias-item .info .titulo {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.noticias-item .info .descricao {
    font-size: 14px;
    color: #666;
}

.noticias-item .meta {
    font-size: 13px;
    color: #888;
}

.noticias-item .acoes {
    display: flex;
    gap: 5px;
}

.noticias-item .acoes a {
    text-decoration: none;
    font-size: 14px;
    padding: 5px 30px;
    border-radius: 4px;
    color: #fff;
    transition: background 0.3s;
}

.noticias-item .acoes .editar {
    color: #007bff;
	font-size:20px;
}

.noticias-item .acoes .editar:hover {
    background: #0056b3;
	 color: #ffffff;
}

.noticias-item .acoes .excluir {
    color: #dc3545;
	font-size:20px;
}

.noticias-item .acoes .excluir:hover {
    background: #a71d2a;
	 color: #ffffff;
}

.noticias-item .status {
    font-weight: bold;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
}

.noticias-item .status.publicado {
    background: #28a745;
}

.noticias-item .status.pendente {
    background: #ffc107;
}

.noticias-item .tipo {
    font-size: 12px;
    font-style: italic;
    color: #555;
}

.icon-overlayn {
   
   
    display: flex;
    gap: 15px;
	 font-size: 10px;
}

.icon-overlayn button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
	 font-size: 10px;
}

.icon-overlayn button i {
    font-size: 24px;
    color: #555;
}

.icon-overlayn button:hover {
    background: rgba(255, 255, 255, 1);
}


/* Botões de ação */
#btnSelecionar, #btnDelete {
    background: none;
    border: none;
    color: #007bff;
    font-size: 20px;
    cursor: pointer;
}

#btnSelecionar:hover, #btnDelete:hover {
    color: #0056b3;
}

/* Modal */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal {
    background: #fff;
    border-radius: 8px;
    width: 300px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.modal button.confirmar {
    background: #28a745;
    color: #fff;
}

.modal button.confirmar:hover {
    background: #218838;
}

.modal button.cancelar {
    background: #dc3545;
    color: #fff;
    margin-left: 10px;
}

.modal button.cancelar:hover {
    background: #c82333;
}


/* Estilo do filtro flutuante */
#floating-filter {
    position: fixed;
    top: 0;
    left: -300px; /* Inicialmente fora da tela */
    width: 300px;
    height: 100%;
    background: #f9f9f9;
    border-right: 2px solid #ddd;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1003;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#filter-header {
    background: #4caf50;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#filter-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#filter-body {
    padding: 15px;
}

#filter-body form div {
    margin-bottom: 15px;
}

.floating-button {
    position: fixed;
    top: 85px;
    left: 20px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    cursor: pointer;
    z-index: 1002;
}

.floating-button:hover {
    background: #45a049;
}


.floating-button2 {
    position: fixed;
    top: 85px;
    right: 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 7px 16px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 999;
}

#new-news {
    right: 140px; /* distância do canto direito */
    background-color: #2ecc71;
	max-width:160px;
}

.floating-button i {
    margin-right: 5px;
}

