.tabelas {
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px auto;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.tabelas thead tr {
    background: rgb(2, 0, 36);
    color: #ffffff;
    text-align: center;
}

.tabelas th,
.tabelas td {
    padding: 2px 15px;
}

.tabelas tbody tr {
    border-bottom: 1px solid #dddddd;
}

.tabelas tbody td {
    border-bottom: 1px solid #dddddd;
}

.tabelas tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.tabelas tbody tr:last-of-type td {
    border-bottom: 2px solid #009879;
}

.tabelas tbody active-row {
    font-weight: bold;
    color: #009879;
}

/* Override existing container width constraints */
.wide-container {
    width: 100% !important;
    max-width: none !important;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 60%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 5px;
    border: 1px solid #888;
    width: 95%;
    height: 90%;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.close {
    color: #aaa;
    align-self: flex-end;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#flightIframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
}