/*
 * PokeTeamOn M5.6 human re-acceptance remediation R2.
 * Additive presentation/feedback only.
 */

.m56r2-builder-action:not(:disabled):not([aria-disabled="true"]) {
    background: #2563EB !important;
    background-image: none !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
}

.m56r2-builder-action:not(:disabled):not([aria-disabled="true"]):hover {
    background: #1D4ED8 !important;
    background-image: none !important;
    border-color: #1D4ED8 !important;
    color: #FFFFFF !important;
}

.m56r2-builder-action:not(:disabled):not([aria-disabled="true"]):active,
.m56r2-builder-action.m56r2-preview-selected:not(:disabled) {
    background: #1E40AF !important;
    background-image: none !important;
    border-color: #1E40AF !important;
    color: #FFFFFF !important;
}

.m56r2-builder-action:disabled,
.m56r2-builder-action[aria-disabled="true"] {
    background: #E5E7EB !important;
    background-image: none !important;
    border-color: #E5E7EB !important;
    color: #9CA3AF !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.m56r2-preview-loading {
    position: relative;
}

.m56r2-selection-highlight {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 4px;
    scroll-margin-top: 5.5rem;
}

.m56r2-main-explain-summary {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.m56r2-main-explain-chevron {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    min-height: 1.6rem;
    font-size: 1rem;
    line-height: 1;
    transition: transform 140ms ease;
}

details[open] > summary .m56r2-main-explain-chevron {
    transform: rotate(180deg);
}
