/* =========================================================
   SMS CREDIT — Acquisto crediti SMS
   ========================================================= */

.sms-credit-page { color: #1f2937; }

/* ---- HERO ---- */
.sms-hero {
	position: relative;
	background: linear-gradient(135deg, #5b50d6 0%, #6c5ce7 45%, #8e7ef5 100%);
	border-radius: 16px;
	padding: 28px 32px;
	color: #fff;
	overflow: hidden;
	box-shadow: 0 18px 40px -22px rgba(108,92,231,0.55);
}
.sms-hero::before {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 360px;
	height: 360px;
	background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
	border-radius: 50%;
}
.sms-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
	gap: 32px;
	align-items: center;
	position: relative;
	z-index: 1;
}
.sms-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255,255,255,0.18);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.25);
}
.sms-hero__title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	margin: 14px 0 10px;
	color: #fff;
}
.sms-hero__subtitle {
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255,255,255,0.82);
	margin-bottom: 18px;
	max-width: 540px;
}
.sms-hero__features {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	font-size: 12px;
	color: rgba(255,255,255,0.85);
}
.sms-hero__features span { display: inline-flex; align-items: center; gap: 6px; }
.sms-hero__features i { color: rgba(255,255,255,0.95); font-size: 12px; }

.sms-hero__credit {
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 12px;
	padding: 18px 20px;
	backdrop-filter: blur(2px);
}
.sms-hero__credit-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.78);
}
.sms-hero__credit-amount {
	font-size: 36px;
	font-weight: 700;
	color: #fff;
	margin: 6px 0 14px;
	line-height: 1;
}
.sms-hero__credit-amount small {
	font-size: 14px;
	font-weight: 500;
	color: rgba(255,255,255,0.7);
	margin-left: 6px;
}
.sms-hero__progress {
	height: 6px;
	background: rgba(255,255,255,0.18);
	border-radius: 999px;
	overflow: hidden;
}
.sms-hero__progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #34d399 0%, #6ee7b7 100%);
	border-radius: 999px;
	transition: width 300ms ease;
}
.sms-hero__progress-meta {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 11px;
	color: rgba(255,255,255,0.78);
}
.sms-hero__credit-action { margin-top: 16px; }
.sms-hero__credit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: #fff;
	color: #4f46e5;
	border: none;
	border-radius: 999px;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 150ms ease, box-shadow 150ms ease;
}
.sms-hero__credit-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px -8px rgba(0,0,0,0.35);
	color: #4f46e5;
	text-decoration: none;
}

/* ---- KPI ROW ---- */
.sms-kpi-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 16px;
	margin-top: 16px;
}
.sms-kpi {
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 12px;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.sms-kpi__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: #fff;
	flex-shrink: 0;
}
.sms-kpi--sent .sms-kpi__icon { background: linear-gradient(135deg,#3b82f6,#60a5fa); }
.sms-kpi--purchased .sms-kpi__icon { background: linear-gradient(135deg,#a855f7,#c084fc); }
.sms-kpi--avg .sms-kpi__icon { background: linear-gradient(135deg,#10b981,#34d399); }
.sms-kpi__label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
}
.sms-kpi__value {
	font-size: 22px;
	font-weight: 700;
	color: #111827;
	margin-top: 2px;
	line-height: 1.2;
}
.sms-kpi__hint {
	font-size: 11px;
	color: #10b981;
	font-weight: 600;
	margin-top: 2px;
}
.sms-kpi__hint--muted { color: #9ca3af; font-weight: 500; }

/* ---- PACKAGES PANEL ---- */
.sms-packages {
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 12px;
	padding: 22px 24px;
	margin-top: 16px;
}
.sms-packages__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.sms-packages__title-wrap { display: flex; align-items: center; gap: 10px; }
.sms-packages__title-icon {
	width: 28px; height: 28px; border-radius: 8px;
	background: #eef2ff; color: #4f46e5;
	display: flex; align-items: center; justify-content: center;
	font-size: 13px;
}
.sms-packages__title { font-size: 14px; font-weight: 600; color: #111827; line-height: 1.3; }
.sms-packages__subtitle { font-size: 12px; color: #6b7280; margin-top: 2px; }
.sms-packages__saving-badge {
	display: inline-flex; align-items: center; gap: 6px;
	background: #ecfdf5; color: #047857;
	border: 1px solid #a7f3d0;
	font-size: 11px; font-weight: 600;
	padding: 5px 10px; border-radius: 999px;
}

.sms-packages__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 14px;
}
@media (max-width: 1199px){ .sms-packages__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575px){ .sms-packages__grid { grid-template-columns: 1fr; } }

.sms-pkg {
	position: relative;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px 14px 14px;
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.sms-pkg:hover { border-color: #c7d2fe; box-shadow: 0 8px 18px -14px rgba(79,70,229,0.4); }
.sms-pkg.is-selected {
	border-color: #4f46e5;
	box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.sms-pkg__top-badge {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.sms-pkg__top-badge--recommended { background: linear-gradient(135deg,#4f46e5,#6366f1); }
.sms-pkg__top-badge--best { background: linear-gradient(135deg,#10b981,#059669); }

.sms-pkg__qty-row {
	display: flex; align-items: baseline; justify-content: space-between;
	margin-bottom: 6px;
}
.sms-pkg__qty { font-size: 18px; font-weight: 700; color: #111827; }
.sms-pkg__qty-suffix { font-size: 11px; color: #9ca3af; font-weight: 600; letter-spacing: 0.04em; }
.sms-pkg__price-row {
	display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px;
}
.sms-pkg__price { font-size: 22px; font-weight: 700; color: #4f46e5; line-height: 1.1; }
.sms-pkg__discount {
	font-size: 10px;
	font-weight: 600;
	color: #047857;
	background: #ecfdf5;
	padding: 2px 7px;
	border-radius: 999px;
	border: 1px solid #a7f3d0;
}
.sms-pkg__per-sms { font-size: 11px; color: #6b7280; margin-bottom: 12px; }
.sms-pkg__features {
	list-style: none;
	padding: 0;
	margin: 0 0 14px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.sms-pkg__features li {
	display: flex; align-items: center; gap: 6px;
	font-size: 11px; color: #4b5563;
}
.sms-pkg__features li i { color: #10b981; font-size: 11px; }

.sms-pkg__btn {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	background: #fff;
	color: #4f46e5;
	border: 1px solid #c7d2fe;
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 150ms ease;
}
.sms-pkg__btn:hover { background: #eef2ff; }
.sms-pkg.is-selected .sms-pkg__btn {
	background: linear-gradient(135deg,#4f46e5,#6366f1);
	border-color: transparent;
	color: #fff;
}

/* ---- ORDER SUMMARY BAR ---- */
.sms-summary {
	margin-top: 16px;
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 12px;
	padding: 16px 22px;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}
.sms-summary__left {
	display: flex; align-items: center; gap: 14px;
	flex: 1; min-width: 220px;
}
.sms-summary__icon {
	width: 36px; height: 36px; border-radius: 10px;
	background: #eef2ff; color: #4f46e5;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px;
	flex-shrink: 0;
}
.sms-summary__label {
	font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #9ca3af;
}
.sms-summary__detail { font-size: 13px; color: #111827; font-weight: 500; margin-top: 2px; }
.sms-summary__total {
	display: flex; align-items: baseline; gap: 8px;
}
.sms-summary__total-label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6b7280; }
.sms-summary__total-value { font-size: 20px; font-weight: 700; color: #111827; }
.sms-summary__btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: linear-gradient(135deg,#4f46e5,#6366f1);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}
.sms-summary__btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(79,70,229,0.5); color: #fff; text-decoration: none; }
.sms-summary__btn[disabled], .sms-summary__btn.is-disabled {
	opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none;
}

/* ---- INFO CARDS ---- */
.sms-info-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 14px;
	margin-top: 16px;
}
.sms-info {
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 12px;
	padding: 16px 18px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.sms-info__icon {
	width: 34px; height: 34px; border-radius: 9px;
	background: #eef2ff; color: #4f46e5;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px;
	flex-shrink: 0;
}
.sms-info__title { font-size: 13px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.sms-info__text { font-size: 12px; color: #6b7280; line-height: 1.5; }

/* ---- FAQ ---- */
.sms-faq {
	background: #fff;
	border: 1px solid #eef0f4;
	border-radius: 12px;
	padding: 22px 24px;
	margin-top: 16px;
}
.sms-faq__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sms-faq__head-icon {
	width: 28px; height: 28px; border-radius: 8px;
	background: #eef2ff; color: #4f46e5;
	display: flex; align-items: center; justify-content: center;
	font-size: 13px;
}
.sms-faq__title { font-size: 14px; font-weight: 600; color: #111827; }
.sms-faq__subtitle { font-size: 12px; color: #6b7280; margin-top: 2px; }
.sms-faq__list { display: flex; flex-direction: column; }
.sms-faq__item { border-top: 1px solid #f1f3f7; }
.sms-faq__item:first-child { border-top: none; }
.sms-faq__q {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 0;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	color: #111827;
	user-select: none;
}
.sms-faq__q:hover { color: #4f46e5; }
.sms-faq__q i { color: #9ca3af; font-size: 12px; transition: transform 200ms ease; }
.sms-faq__item.is-open .sms-faq__q i { transform: rotate(180deg); color: #4f46e5; }
.sms-faq__a {
	display: none;
	padding: 0 0 16px;
	font-size: 12px;
	line-height: 1.6;
	color: #6b7280;
}
.sms-faq__item.is-open .sms-faq__a { display: block; }

/* ---- GODMODE PANEL ---- */
.sms-godmode-toggle { margin-top: 14px; }
.sms-godmode-panel {
	margin-top: 12px;
	background: #fff;
	border: 1px solid #fbbf24;
	border-left: 3px solid #f59e0b;
	border-radius: 10px;
	padding: 16px 18px;
}
.sms-godmode-panel__title {
	font-size: 13px; font-weight: 600; color: #92400e;
	margin: 0 0 12px;
	display: flex; align-items: center; gap: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px){
	.sms-hero__grid { grid-template-columns: 1fr; }
	.sms-kpi-row { grid-template-columns: 1fr; }
	.sms-info-row { grid-template-columns: 1fr; }
}
@media (max-width: 767px){
	.sms-hero { padding: 22px; }
	.sms-hero__title { font-size: 22px; }
	.sms-summary { flex-direction: column; align-items: stretch; }
	.sms-summary__total { justify-content: space-between; }
	.sms-summary__btn { width: 100%; justify-content: center; }
}
