/* IPTV Free Trial — Frontend Styles */

.iptv-trial-wrap {
	max-width: 560px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ── Form Section ── */
.iptv-trial-main-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1e1e2f;
	margin-bottom: 20px;
	text-align: center;
}

.iptv-trial-form {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 28px 32px;
	box-shadow: 0 4px 16px rgba(0,0,0,.07);
}

.iptv-trial-field {
	margin-bottom: 18px;
}

.iptv-trial-field label {
	display: block;
	font-weight: 600;
	font-size: .9rem;
	color: #374151;
	margin-bottom: 6px;
}

.iptv-trial-field input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 1rem;
	color: #111827;
	box-sizing: border-box;
	transition: border-color .2s, box-shadow .2s;
	outline: none;
}

.iptv-trial-field input:focus {
	border-color: #4f46e5;
	box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}

/* ── Error ── */
.iptv-trial-error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	border-radius: 8px;
	padding: 12px 16px;
	color: #991b1b;
	font-size: .9rem;
	margin-bottom: 14px;
	line-height: 1.5;
}

/* ── Submit Button ── */
.iptv-trial-btn {
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .2s, transform .1s;
	letter-spacing: .02em;
}

.iptv-trial-btn:hover {
	opacity: .88;
}

.iptv-trial-btn:active {
	transform: scale(.98);
}

.iptv-trial-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

/* ── Result Section ── */
.iptv-result-box {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 28px 32px;
	box-shadow: 0 4px 16px rgba(0,0,0,.07);
}

.iptv-result-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: #1e1e2f;
	margin: 0 0 20px 0;
	padding-bottom: 14px;
	border-bottom: 2px solid #e5e7eb;
	text-align: center;
}

.iptv-result-copy-all {
	text-align: center;
	margin-bottom: 20px;
}

.iptv-copy-all-btn {
	padding: 10px 28px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	border-radius: 8px !important;
}

.iptv-result-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	flex-wrap: wrap;
}

.iptv-result-label {
	font-weight: 600;
	color: #374151;
	white-space: nowrap;
	min-width: 110px;
	font-size: .9rem;
}

.iptv-result-value {
	flex: 1;
	font-family: 'Courier New', Courier, monospace;
	font-size: .85rem;
	color: #1e1e2f;
	word-break: break-all;
	background: #f9fafb;
	padding: 5px 10px;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
}

.iptv-result-divider {
	height: 1px;
	background: #f3f4f6;
	margin: 6px 0;
}

/* ── Copy Buttons ── */
.iptv-copy-btn {
	border: none;
	border-radius: 6px;
	padding: 6px 14px;
	font-size: .82rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity .2s, transform .1s;
}

.iptv-copy-btn:hover {
	opacity: .85;
}

.iptv-copy-btn:active {
	transform: scale(.96);
}

.iptv-copy-btn.copied {
	opacity: .7;
}

/* ── Responsive ── */
@media (max-width: 540px) {
	.iptv-trial-form,
	.iptv-result-box {
		padding: 20px 16px;
	}

	.iptv-result-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.iptv-result-label {
		min-width: unset;
	}

	.iptv-result-value {
		width: 100%;
	}

	.iptv-copy-btn {
		align-self: flex-end;
	}
}
