/* Copyright João Saidler 2022 - Atualizado 2026 */

#form, #data-table, #details, #plans {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

#data-table,
#data-table-content,
#details {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#data-table>div,
#data-table-content>div {
    display: flex;
    width: 100%;
    justify-content: stretch;
}

#data-table-content>div {
    border-bottom: 1px solid rgb(80, 80, 80);
    cursor: pointer;
    transition-duration: 0.3s;
}

#data-table-content>div:last-of-type {
    border: none;
}

#data-table-content>div:hover,
#data-table-content>div.selected {
    background-color: rgb(129, 127, 127);
    color: whitesmoke;
}

#data-table-content>div>div,
#data-table-title>div,
#data-table-totals>div {
    padding: 5px;
    width: 100%;
}

#data-table-content-wrapper {
    max-height: 350px;
    overflow-y: auto;
}

#data-table-title {
    border-bottom: 2px solid rgb(80, 80, 80);
}

#data-table-title,
#data-table-totals>div, .total {
    font-weight: 600;
}

#data-table-totals>div {
    border-top: 2px solid rgb(80, 80, 80);
}

.role,
#details-role {
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    max-width: 370px;
}

.wage,
.total {
    text-align: right;
}

.wage small {
    font-size: xx-small;
}

@media (max-width: 500px) {
    .wage small {
        display: block;
    }
}

#data-table,
#details {
    text-transform: uppercase;
}

#details-values>div:not(.form-controls) {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 5px;
    padding-top: 5px;
    border-bottom: 1px solid black;
}

#details small {
    font-size: 0.7rem;
}

#plans {
    text-transform: none;
}

#plans>div {
    margin-top: 1rem;
}

#plans>div:not(.plans-title) {
    font-weight: 600;
}

#plans div.plans-title {
    font-size: 1rem;
}

.plans-description {
    font-weight: 300;
    font-size: 0.9rem;
}

#plans .price {
    font-size: 1.1rem;
    font-weight: 800;
}

#form {
    grid-area: form;
}

#data-table {
    grid-area: data;
}

#details {
    grid-area: details;
}

#plans {
    grid-area: plans;
}
