@import '../../_coreStyles.scss';
$panel-height: 544px;
$panel-width: 640px;
$panel-image-div-height: 304px;

.bolt-teaching-panel-layer {
    background: $transblack-30;
}

.bolt-teaching-panel {
    border-radius: 6px;
    height: $panel-height;
    overflow: hidden;
    width: $panel-width;

    @include ms-high-contrast-override {
        border: solid 1px;
    }
}

.bolt-teaching-panel a {
    color: $communication-foreground;
}

.bolt-teaching-panel-visual {
    // Use hard coded color since images may not work with themed backgrounds.
    background: #0078d4;
    height: $panel-image-div-height;
    justify-content: center;
    position: relative;
    width: $panel-width;

    .bolt-teaching-pane-close-button {
        background-color: transparent;

        // Use hard coded color since images may not work with themed backgrounds.
        color: white;
        padding: 0;
        position: absolute;
        right: $spacing-16;
        top: $spacing-16;

        &:focus {
            border-color: white;

            @include ms-high-contrast-override {
                border: solid 1px Highlight;
            }
        }
    }
}

.bolt-teaching-panel-image {
    align-self: flex-end;
    display: flex;
    max-height: 100%;
    max-width: 100%;
}

.bolt-teaching-panel-description {
    background: $calloutBackgroundColor;
}

.bolt-teaching-panel-buttons {
    justify-content: space-between;
}

.bolt-teaching-panel-back {
    &.first-slide {
        visibility: hidden;
    }
}

.bolt-teaching-panel-progress {
    pointer-events: none;
}

.bolt-teaching-panel-progress-circle {
    background-color: $neutral-20;
    border-radius: 50%;
    height: 8px;
    width: 8px;

    @include ms-high-contrast-override {
        border: solid 1px $black;
    }

    &.current {
        background-color: $communication-background;

        @include ms-high-contrast-override {
            background-color: Highlight;
        }
    }
}