@import "app/styles/variables";

bl-server-error {
    display: block;

    .error-banner {
        background: $danger-color;
        color: $danger-contrast-color;
        > .content {
            padding: 10px;
            overflow-wrap: anywhere;
        }

        > .content > .main-content {
            display: flex;
            position: relative;

            h4, p, table {
                color: $danger-contrast-color;
                font-size: 12px;
            }

            h4 {
                font-size: 24px;
                font-weight: 300;
            }

            .main-info {
                flex: 1;
                margin-right: 10px;
            }
        }

        .troubleshoot-btn {
            font-size: 1.5em;
            z-index: 10;

            bl-clickable {
                display: inline-block;
                border: 1px solid $danger-color-dark;
                border-radius: 3px;
                padding: 3px;
                &:hover {
                    background-color: $danger-color-dark;
                }
            }
        }

        .troubleshoot-info {
            padding: 10px;
            border-top: 1px solid map-get($danger, 800);

            table {
                font-size: 1em;
                color: $danger-contrast-color;
            }
            td {
                padding-right: 10px;
            }
        }
    }
}
