body {
    font-family: Arial, sans-serif;
    margin: 20px;
}
  .add-report-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px; /* Defina uma largura e altura para o botão */
        height: 40px;
        background-color: #007bff;
        color: #fff;
        border: none;
        cursor: pointer;
        border-radius: 50%; /* Torna o botão redondo */
        font-size: 16px;
        transition: background-color 0.3s;
    }

    .add-report-btn:hover {
        background-color: #0056b3;
    }
.status-flag {
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
}
.status-flag.red { background-color: red; }
.status-flag.yellow { background-color: yellow; }
.status-flag.green { background-color: green; }

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
table.dataTable tbody th, table.dataTable tbody td {
    padding: 8px 10px;
    font-size:12px;
}

#reportForm label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}
#reportForm input[type="text"],
#reportForm select,
#reportForm input[type="file"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#reportForm button[type="submit"] {
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#reportForm button[type="submit"]:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
    }
    .add-report-btn {
        width: 100%;
        padding: 15px;
        font-size: 14px;
    }
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
    }
    thead tr {
        display: none;
    }
    tbody tr {
        margin-bottom: 15px;
        border-bottom: 1px solid #ddd;
    }
    tbody tr td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        font-size: 14px;
    }
    tbody tr td:before {
        content: attr(data-label);
        font-weight: bold;
        width: 40%;
    }
}
