// Copyright (c) 2017-2025, CKSource Holding sp. z o.o. All rights reserved.
// For licensing, see LICENSE.md.

@use 'helpers/globals';
@use 'helpers/spacing';

.top {
	.warning-banner {
		position: fixed;
		display: flex;
		align-content: center;
		flex-wrap: nowrap;
		align-items: center;
		overflow: hidden;
		top: 0;
		z-index: 9999;
		left: 50%;
		transform: translateX(-50%);

		background: #FCEB77;
		font-size: 13px;
		white-space: nowrap;
		border-radius: 0 0 3px 3px;
		box-shadow: 0 2px 4px #00000030;

		@include globals.u-responsive-mobile {
			display: none;
		}

		& a {
			text-decoration: underline;
		}

		& span:first-child {
			background: #1A1A1A;
			color: #FCEB77;
			padding: spacing.u-spacing( -3 ) spacing.u-spacing( -1 );
			text-transform: uppercase;
			font-weight: bold;
		}

		& span:last-child {
			padding: 0 spacing.u-spacing( 0 );
		}
	}
}
