/* Upgrade approval notification banner */
.upgrade-notification-banner {
	position: fixed;
	bottom: 0;
	left: 278px; /* left menu width */
	right: 0;
	background-color: var(--color-A6); /* orange-brown */
	color: white;
	padding: 16px 24px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
	z-index: 10000;
	animation: slideUp 0.3s ease-out;
}

/* When menu is collapsed */
section.main_wrap.fold ~ .upgrade-notification-banner {
	left: 72px; /* collapsed menu width */
}

/* Sub layout (no menu) */
section.sub_wrap ~ .upgrade-notification-banner {
	left: 0; /* full width */
}

/* Hide Settings button in sub layout */
section.sub_wrap ~ .upgrade-notification-banner .btn-secondary {
	display: none;
}

@keyframes slideUp {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.upgrade-notification-banner .banner-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
}

.upgrade-notification-banner .banner-icon {
	flex-shrink: 0;
}

.upgrade-notification-banner .banner-icon i {
	font-size: 24px;
	color: white;
}

.upgrade-notification-banner .banner-message {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.upgrade-notification-banner .banner-message strong {
	font-size: 16px;
	font-weight: 600;
}

.upgrade-notification-banner .banner-message span {
	font-size: 14px;
	opacity: 0.95;
}

.upgrade-notification-banner .banner-actions {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
}

.upgrade-notification-banner .btn-banner {
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.upgrade-notification-banner .btn-banner.btn-secondary {
	background-color: rgba(255, 255, 255, 0.2);
	color: white;
}

.upgrade-notification-banner .btn-banner.btn-secondary:hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.upgrade-notification-banner .btn-banner.btn-primary {
	background-color: white;
	color: var(--color-A6);
}

.upgrade-notification-banner .btn-banner.btn-primary:hover {
	background-color: #f5f5f5;
}

/* Responsive */
@media (max-width: 768px) {
	.upgrade-notification-banner {
		padding: 12px 16px;
	}

	.upgrade-notification-banner .banner-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.upgrade-notification-banner .banner-actions {
		width: 100%;
		flex-direction: column;
		gap: 8px;
	}

	.upgrade-notification-banner .btn-banner {
		width: 100%;
	}
}
