/* pagination styling */

.uk-pagination > .uk-active > * {
    color: #e11930;
}

.uk-pagination > * > * {
    display: block;
    padding: .25rem 1rem;
    color: #0045b3;
}

/* hide duplicate select filter */
.powergrid__body select, .powergrid__body .ts-wrapper {
    display: none !important;
}

/* enlarge list control icons */
svg.list-control {
    scale: 1.7;
}

/* <code> styling in contract activity */
.progress__content code {
    background-color: #ddd;
    color: inherit;
    padding: .1em .3em;
    border-radius: .2em;
}

/* disabled dropdown action */
.uk-nav__link.uk-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* action rules workaround */
tr:has(.tr--danger) {
    background-color: #ffeaea !important;
}

tr:has(.tr--warning) {
    background-color: var(--light-orange-color) !important;
}

/* show/hide password/confirmation icons */
.password-icon {
    cursor: pointer;
    margin: auto 0 auto .5em;
}

/* ensure appendix names don't overflow */
.ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
}

/* multi-select dropdown arrow */
.uk-select:not([multiple]):not([size]),
.ts-wrapper:not(:has(.item)) {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.985 5.586 12.277.293a1 1 0 0 1 1.415 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6A1 1 0 1 1 1.691.293z' fill='%230045b3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 90% 50%;
}

.ts-control {
    background: none !important;
}

.uk-drop.uk-open {
    display: block;
    z-index: 1;
}

.uk-modal.uk-open {
    opacity: 1;
    z-index: 2;
}

.uk-open > .uk-modal-dialog {
    opacity: 1;
    transform: translateY(0);
}

/* hide disabled fields */
.form__group:has(input:disabled), .form__group:has(select:disabled) {
    display: none;
}

.clipboard-hidden {
    display: none;
}
