/* Storage Upgrade Popup — Frontend Styles */

#sup-overlay, #sup-overlay * {
	box-sizing: border-box;
}

.sup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 20, 20, 0.55);
	backdrop-filter: blur(2px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity .35s ease;
}
.sup-overlay.sup-visible {
	opacity: 1;
}

.sup-popup {
	position: relative;
	background: #fafafa;
	width: 100%;
	max-width: 460px;
	max-height: 92vh;
	overflow-y: auto;
	overflow-x: hidden;
	border-radius: 14px;
	padding: 36px 30px 28px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	transform: translateY(16px) scale(.98);
	opacity: 0;
	transition: transform .35s ease, opacity .35s ease;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	float: none !important;
}
.sup-overlay.sup-visible .sup-popup {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.sup-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 4px;
}
.sup-close:hover { color: #333; }

.sup-shield {
	width: 64px;
	height: 64px;
	margin: 0 auto 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #333;
	border-radius: 50%;
}

.sup-subheadline {
	font-size: 18px;
	color: #333;
	line-height: 1.55;
	margin: 0 0 20px;
}

.sup-headline {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 14px;
	color: #111;
}

.sup-bar-track {
	width: 100%;
	height: 10px;
	background: #e9e9e9;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 8px;
}
.sup-bar-fill {
	height: 100%;
	width: 0%;
	display: flex;
	border-radius: 6px;
	transition: width 1.8s cubic-bezier(.22,.9,.3,1);
}
.sup-seg { flex: 1 1 20%; }
.sup-seg-1 { background: #4a90e2; }
.sup-seg-2 { background: #f2c14e; }
.sup-seg-3 { background: #e74c3c; }
.sup-seg-4 { background: #2ecc71; }
.sup-seg-5 { background: #9b59b6; }

.sup-percent {
	font-size: 18px;
	font-weight: 700;
	color: #e74c3c;
	margin-bottom: 20px;
}

.sup-rows {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	text-align: left;
}
.sup-rows li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	font-size: 15px;
	font-weight: 600;
	color: #222;
}
.sup-status {
	margin-left: auto;
	font-weight: 500;
	color: #444;
	font-size: 14px;
}
.sup-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}
.sup-dot-1 { background: #4a90e2; }
.sup-dot-2 { background: #f2c14e; }
.sup-dot-3 { background: #e74c3c; }
.sup-dot-4 { background: #2ecc71; }
.sup-dot-5 { background: #9b59b6; }

.sup-offer-text {
	font-size: 18px;
	font-weight: 700;
	color: #111;
	line-height: 1.5;
	margin: 6px 0 18px;
}

.sup-divider {
	border: none;
	border-top: 1px solid #ddd;
	margin: 0 0 14px;
}

.sup-countdown-line {
	font-size: 14px;
	color: #444;
	margin: 0 0 18px;
}
.sup-countdown {
	color: #2d6cdf;
	font-weight: 700;
}

.sup-platforms {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	background: #f2f2f2;
	border-radius: 10px;
	padding: 22px 0;
	margin-bottom: 18px;
}

.sup-cta-wrap {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100%;
}

.sup-cta-btn {
	display: flex !important;
	flex-direction: column;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: 100%;
	margin: 0 auto !important;
	text-align: center !important;
	background: #e8503f;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 10px;
	padding: 16px 10px !important;
	font-weight: 700;
	line-height: 1.4;
	box-shadow: 0 6px 18px rgba(232,80,63,.35);
	float: none !important;
	position: static !important;
	left: auto !important;
	right: auto !important;
}
.sup-cta-line1 { display: block; width: 100%; font-size: 17px; text-align: center !important; }
.sup-cta-line2 { display: block; width: 100%; font-size: 17px; text-align: center !important; }

.sup-blink {
	animation: sup-pulse 1.15s ease-in-out infinite;
}
@keyframes sup-pulse {
	0%, 100% { transform: scale(1); box-shadow: 0 6px 18px rgba(232,80,63,.35); }
	50% { transform: scale(1.035); box-shadow: 0 10px 26px rgba(232,80,63,.55); }
}

.sup-price-note {
	font-size: 12px;
	color: #888;
	margin: 12px 0 0;
}

/* Responsive */
@media (max-width: 480px) {
	.sup-popup { padding: 28px 20px 22px; max-width: 100%; }
	.sup-headline { font-size: 19px; }
	.sup-subheadline { font-size: 15px; }
	.sup-offer-text { font-size: 15px; }
	.sup-shield { width: 54px; height: 54px; }
	.sup-cta-line1, .sup-cta-line2 { font-size: 15px; }
	.sup-platforms svg { width: 32px; height: 32px; }
}
