.TrackFieldValidation {
    cursor: pointer;
    display: inline-block;

    &Icon {
        display: flex;
        height: 100%;
        align-items: center;
        font-size: 0.85rem;
        padding: 0.143rem 0.714rem 0.143rem 0.357rem;
        border-radius: 0.714rem;
    }

    .TrackFieldValidationIcon {
        .GlyphIcon {
            margin-right: 0.214rem;
        }
        .GlyphIcon.error {
            color: #e84031;
        }

        .GlyphIcon.warn {
            color: #fabb00;
        }
    }

    &.error {
        .TrackFieldValidationIcon {
            background-color: #ffeae8;
        }
    }

    &.warn {
        .TrackFieldValidationIcon {
            background-color: #fff5d9;
        }
    }

    .OverlayTriggerPopover-Wrapper {
        display: flex;
        height: 100%;
    }
}

&.TrackFieldValidationPopover {
    box-shadow: 0 0 0.357rem 0.071rem rgb(0 15 23 / 10%);
    background-color: #fff;
    min-width: 43rem;

    .popover-body {
        padding: 0;
    }

    .noticeCountHeader {
        display: inline-block;
        background-color: #f3f0f0;
        color: #847c7c;
        padding: 0.214rem;
        font-size: 0.714rem;
        text-transform: uppercase;
        margin: 1.786rem 0 0.714rem;
    }

    .Alert {
        box-shadow: 0 0 0.071rem 0.071rem rgb(100 100 100 / 10%);
        width: 100%;
    }

    .noticePagingControls {
        display: flex;
        flex: 1;
        gap: 10px;
        justify-content: space-between;

        .btn {
            font-size: 0.714rem;

            &.trackValidationNext {
                margin-left: auto;
            }
        }
    }

    .TrackFieldValidationValidationHeader {
        padding-left: 0.75rem;
    }

    .TrackFieldValidationValidationList {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 0.75rem 0.75rem;
        max-height: 20rem;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

.TrackFieldValidationAlertsContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    max-height: 20rem;
    overflow-y: auto;
    padding-right: 10px;

    .noticePagingControls {
        display: flex;
        flex: 1;
        gap: 10px;
        justify-content: space-between;

        .btn {
            font-size: 0.714rem;

            &.trackValidationNext {
                margin-left: auto;
            }
        }
    }
}
