/* Android App Install Banner Styles */
.android-app-banner {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: linear-gradient(135deg, #e85c16 0%, #ffc9a6 100%);
	color: white;
	padding: 12px 16px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	transform: translateY(-100%);
	transition: transform 0.3s ease-in-out;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.android-app-banner.show {
	transform: translateY(0);
}

.android-app-banner-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
}

.android-app-banner-info {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
}

.android-app-banner-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	margin-right: 12px;
	flex-shrink: 0;
}

.android-app-banner-text {
	flex: 1;
	min-width: 0;
}

.android-app-banner-title {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 2px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.android-app-banner-subtitle {
	font-size: 12px;
	opacity: 0.9;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.android-app-banner-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 12px;
}

.android-app-banner-button {
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.android-app-banner-button:hover {
	background: rgba(255, 255, 255, 0.3);
	color: white;
	text-decoration: none;
}

.android-app-banner-button.primary {
	background: white;
	color: #e85c16;
	border-color: white;
}

.android-app-banner-button.primary:hover {
	background: rgba(255, 255, 255, 0.9);
	color: #e85c16;
}

.android-app-banner-close {
	background: none;
	border: none;
	color: white;
	font-size: 18px;
	cursor: pointer;
	padding: 4px;
	margin-left: 8px;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.android-app-banner-close:hover {
	opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.android-app-banner {
		padding: 10px 12px;
	}

	.android-app-banner-icon {
		width: 36px;
		height: 36px;
		margin-right: 10px;
	}

	.android-app-banner-title {
		font-size: 13px;
	}

	.android-app-banner-subtitle {
		font-size: 11px;
	}

	.android-app-banner-button {
		padding: 6px 12px;
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.android-app-banner-content {
		flex-wrap: wrap;
		gap: 8px;
	}

	.android-app-banner-actions {
		margin-left: 0;
		flex: 1;
		justify-content: flex-end;
	}

	.android-app-banner-subtitle {
		display: none;
	}
}

/* Adjust page content when banner is shown */
body.android-banner-shown {
	padding-top: 64px;
}

@media (max-width: 768px) {
	body.android-banner-shown {
		padding-top: 56px;
	}
}
