/* Browser Compatibility Warning */
#compatibility-warning {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Poppins", sans-serif;
}

.warning-content {
	background: white;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	max-width: 90%;
	max-height: 90%;
	overflow-y: auto;
	animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.warning-header {
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
	color: white;
	padding: 15px 20px;
	border-radius: 12px 12px 0 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.warning-icon {
	font-size: 24px;
	margin-right: 10px;
}

.warning-header h3 {
	margin: 0;
	flex: 1;
	font-size: 18px;
	font-weight: 600;
}

.warning-close {
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.2s;
}

.warning-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.warning-body {
	padding: 20px;
	line-height: 1.5;
}

.warning-issue {
	color: #d63031;
	margin: 5px 0;
	font-weight: 500;
}

.recommended-browsers {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 8px;
	margin: 15px 0;
}

.recommended-browsers ul {
	margin: 10px 0;
	padding-left: 20px;
}

.warning-actions {
	display: flex;
	gap: 10px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.btn-continue, .btn-recommend {
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	font-family: "Poppins", sans-serif;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	flex: 1;
	min-width: 120px;
}

.btn-continue {
	background: #74b9ff;
	color: white;
}

.btn-continue:hover {
	background: #0984e3;
}

.btn-recommend {
	background: #00b894;
	color: white;
}

.btn-recommend:hover {
	background: #00a085;
}

/* Mobile adjustments */
@media (max-width: 480px) {
	.warning-content {
		max-width: 95%;
		margin: 10px;
	}
	
	.warning-header {
		padding: 12px 15px;
	}
	
	.warning-header h3 {
		font-size: 16px;
	}
	
	.warning-body {
		padding: 15px;
	}
	
	.warning-actions {
		flex-direction: column;
	}
}