/* Legacy variable aliases are defined in tokens.css */

.toast-close {
    background-color: transparent;
    margin-left: 10px;
}

.main-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-responsive {
    max-height: 75svh;
}

#pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

#left_parent .card .card-body #listForm {
    min-height: 320px;
}

.loader-wrapper,
.portal-table-loader {
    min-height: 50svh;
    display: none;
    justify-content: flex-start;
    align-items: stretch;
}

/* Legacy class aliases — use portal-spinner in markup */
.loader-table,
.loader-btn {
    display: none;
}

#submitComplaint {
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.disabled {
    pointer-events: none;
    opacity: 0.8;
    background-color: var(--color-bg-muted);
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-menu .nav-search-form {
    display: inline-block;
    position: relative;
    width: 400px;
}

.menu-profile .name {
    display: inline-block;
}

@media (max-width: 768px) {
    #left_parent .card .card-body #listForm {
        min-height: auto;
    }

    .main-content-header {
        flex-direction: column;
        align-items: flex-start;
    }

    #pagination {
        flex-direction: column;
    }

    .action-btn {
        margin-top: 1rem;
    }
}
