/* ==========================================================================
   SuGo — Kazanç Tahmini Hesaplama (sugo-earnings-*)
   Yalnızca "Yayıncı Başvurusu" formunda SuGo seçiliyken görünür.
   ========================================================================== */

.sugo-earnings-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	align-items: stretch;
}

.sugo-earnings-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: left;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 16px;
	padding: 16px 14px 14px;
	cursor: pointer;
	font-family: inherit;
	color: inherit;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
	min-width: 0;
}

.sugo-earnings-card:hover {
	border-color: rgba(157, 108, 255, 0.35);
}

.sugo-earnings-card:focus-visible {
	outline: 2px solid var(--pw-primary, #8b5cf6);
	outline-offset: 2px;
}

.sugo-earnings-card:active {
	transform: scale(0.99);
}

.sugo-earnings-card-active {
	border-color: var(--pw-primary, #8b5cf6);
	background: rgba(139, 92, 246, 0.08);
	box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 10px 30px rgba(124, 58, 237, 0.22);
}

.sugo-earnings-badge {
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #8b5cf6, #7c3aed);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
}

.sugo-earnings-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sugo-earnings-letter {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 15px;
	color: var(--pw-primary-light, #c4b5fd);
	background: rgba(139, 92, 246, 0.14);
	border: 1px solid rgba(139, 92, 246, 0.35);
	border-radius: 10px;
}

.sugo-earnings-card-titles {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sugo-earnings-card-title {
	font-weight: 700;
	font-size: 13.5px;
	color: #fff;
	line-height: 1.25;
}

.sugo-earnings-card-level {
	font-size: 12px;
	color: var(--pw-primary-light, #c4b5fd);
}

.sugo-earnings-card-rows {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.sugo-earnings-card-rows li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	row-gap: 1px;
	column-gap: 6px;
	font-size: 11.5px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.65);
	min-width: 0;
}

.sugo-earnings-row-label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex: 1 1 auto;
	min-width: 0;
	white-space: normal;
	word-break: break-word;
}

.sugo-earnings-row-label svg {
	flex: 0 0 auto;
	color: var(--pw-primary-light, #c4b5fd);
	opacity: 0.85;
}

.sugo-earnings-row-value {
	flex: 0 0 auto;
	margin-left: auto;
	text-align: right;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.22) 40%, rgba(255, 255, 255, 0) 0%);
	background-position: bottom;
	background-size: 4px 1px;
	background-repeat: repeat-x;
	padding-bottom: 2px;
}

.sugo-earnings-card-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 10px;
	margin-top: 2px;
}

.sugo-earnings-total-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.sugo-earnings-total-value {
	font-size: 20px;
	font-weight: 800;
	color: var(--pw-primary-light, #c4b5fd);
}

.sugo-earnings-card-desc {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.35;
}

.sugo-earnings-card-desc svg {
	flex: 0 0 auto;
	opacity: 0.7;
}

.sugo-earnings-field-error {
	display: block;
	margin-top: 8px;
	color: #f87171;
	font-size: 13px;
}

/* Sonuç kutusu */
.sugo-earnings-result {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
	padding: 14px 16px;
	background: rgba(139, 92, 246, 0.08);
	border: 1px solid rgba(139, 92, 246, 0.28);
	border-radius: 14px;
}

.sugo-earnings-result-avatar {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 16px;
	color: #fff;
	background: linear-gradient(135deg, #8b5cf6, #6d28d9);
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
}

.sugo-earnings-result-main {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
}

.sugo-earnings-result-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.55);
}

.sugo-earnings-result-amount {
	font-size: 24px;
	font-weight: 800;
	color: #fff;
}

.sugo-earnings-result-meta {
	flex: 1 1 auto;
	min-width: 0;
	text-align: right;
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.6);
}

.sugo-earnings-result-note {
	margin: 8px 2px 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}

/* Ödeme bilgisi accordion */
.sugo-earnings-payment-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin-top: 14px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 13px;
	font-family: inherit;
	cursor: pointer;
	text-align: left;
}

.sugo-earnings-payment-toggle span {
	flex: 1 1 auto;
}

.sugo-earnings-payment-toggle svg:first-child {
	flex: 0 0 auto;
	color: var(--pw-primary-light, #c4b5fd);
}

.sugo-earnings-payment-chevron {
	flex: 0 0 auto;
	transition: transform 0.2s ease;
}

.sugo-earnings-payment-toggle[aria-expanded="true"] .sugo-earnings-payment-chevron {
	transform: rotate(90deg);
}

.sugo-earnings-payment-body {
	margin-top: 8px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	font-size: 12.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.55);
}

.sugo-earnings-payment-body p {
	margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.sugo-earnings-cards {
		grid-template-columns: repeat(2, 1fr);
	}
	.sugo-earnings-cards .sugo-earnings-card:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.sugo-earnings-cards {
		grid-template-columns: 1fr;
	}
	.sugo-earnings-cards .sugo-earnings-card:last-child {
		grid-column: auto;
	}
	.sugo-earnings-result {
		flex-wrap: wrap;
	}
	.sugo-earnings-result-meta {
		text-align: left;
		flex-basis: 100%;
	}
}
