
.error-message-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 0.6em;
	box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);
	max-width: 400px;
	padding: 2em;
}
.error-message-code {
	font-size: 3em;
	font-weight: bold;
	color: #e74c3c;
}
.error-message-message {
	font-size: 1.5em;
	margin: 0.8em 0;
	color: #333;
}
.error-message-details {
	font-size: 1.2em;
	color: #666;
}
.error-message-actions {
	margin-top: 1.6em;
}
.error-message-actions a {
	text-decoration: none;
	color: #3498db;
	font-size: 1.2em;
}


.center {
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.main-frame {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 0.8em;
	box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.1);
	transition: border-color 0.3s ease; /* Animacja dla wyjścia po fokusie */
}

/* gdy kontener jest aktywny */
.main-frame.active {
	border-color: rgba(0, 123, 255, 0.8);
	animation: mf-flickerEffect 2s infinite; /* Migotanie */
}

@keyframes mf-flickerEffect {
	0%, 100% {
		box-shadow: 0 0 0.7em rgba(0, 123, 255, 0.5);
	}
	50% {
		box-shadow: 0 0 1em rgba(0, 123, 255, 0.8);
	}
	75% {
		box-shadow: 0 0 0.85em rgba(0, 123, 255, 0.6);
	}
}

/* gdy kontener jest nieaktywny */
.main-frame.inactive {
	background: #f9f9f9; /* Jaśniejszy odcień w stanie */
	border: 1px solid #ccc; /* Przygaszone obramowanie */
	opacity: 0.8; /* Lekkie przygaszenie */
}


.main-frame-title {
	font-family: 'Kanit', sans-serif;
	font-weight: 400;
	background: #444;
	color: #fff;
	border-radius: 0.5em 0.5em 0 0;
	font-size: 1.4em;
	padding: 0.2em 1.8em 0.2em 2.5em;
	text-align: left;
	position: relative;
}

.main-frame-icon {
	display: block;
	text-align: center;
	width: 1.5em;
	height: 1.5em;
	background: none;
	position: absolute;
	top: 50%;
	left: 0.5em;
	transform: translate(0%, -50%);
}

.main-frame-conteiner {
	border-radius: 0 0 0.6em 0.6em;
	padding: 0.3em;
}

.main-frame-conteiner-title {
	font-family: 'Kanit', sans-serif;
	font-weight: 400;
	background: #666;
	color: #fff;
	font-size: 1.2em;
	padding: 0.1em 0.1em 0.1em 2em;
	text-align: left;
}
