/**
 * WP Website To App — base front-end styles.
 * Style-specific rules (colors, sizes, position) are added inline by PHP.
 */

/* Install banner */
.wpwta-banner {
	position: fixed !important;
	z-index: 9999999 !important;
	display: none !important;
	box-sizing: border-box !important;
	opacity: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	transition: opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wpwta-banner.wpwta-show {
	display: flex !important;
}

.wpwta-banner.wpwta-no-animation {
	transition: none !important;
}

html[dir="rtl"] .wpwta-banner {
	direction: rtl;
}

.wpwta-banner-img {
	flex-shrink: 0 !important;
}

.wpwta-banner-content {
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0;
}

.wpwta-install-btn {
	-webkit-appearance: none !important;
	appearance: none !important;
	border: none !important;
	cursor: pointer !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
	transition: transform 0.2s ease;
}

.wpwta-install-btn:active {
	transform: scale(0.96);
}

.wpwta-close-btn {
	-webkit-appearance: none !important;
	appearance: none !important;
	background: transparent !important;
	border: none !important;
	cursor: pointer !important;
	opacity: 0.45;
	transition: opacity 0.2s ease;
	flex-shrink: 0 !important;
}

.wpwta-close-btn:hover {
	opacity: 0.85;
}

.wpwta-dock-text {
	display: block;
	text-align: start;
}

/* iOS install guide */
.wpwta-ios-overlay {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99999999 !important;
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.wpwta-ios-overlay.wpwta-show {
	display: block !important;
	opacity: 1;
}

.wpwta-ios-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #fff !important;
	color: #000;
	border-radius: 24px 24px 0 0 !important;
	padding: 24px 20px 40px !important;
	box-sizing: border-box !important;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.wpwta-ios-overlay.wpwta-show .wpwta-ios-modal {
	transform: translateY(0);
}

.wpwta-ios-header {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin-bottom: 20px !important;
}

.wpwta-ios-header h3 {
	margin: 0 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #000;
}

.wpwta-ios-close-modal {
	-webkit-appearance: none !important;
	appearance: none !important;
	background: #f0f0f0 !important;
	border: none !important;
	border-radius: 50% !important;
	width: 32px !important;
	height: 32px !important;
	font-size: 20px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	color: #333;
}

.wpwta-ios-step {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	margin-bottom: 16px !important;
	font-size: 16px;
	font-weight: 500;
	color: #333;
}

.wpwta-ios-step p {
	margin: 0;
}

.wpwta-ios-icon-box {
	width: 44px !important;
	height: 44px !important;
	background: #f5f5f5 !important;
	border-radius: 12px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.wpwta-ios-icon-box svg {
	width: 24px;
	height: 24px;
	fill: #007aff;
}
