/* TradingView Link Shortcode Styles */

.tia-tradingview-link {
}

.tia-tradingview-link label {
	display: block;
	color: #1a365d;
	font-weight: 500;
	font-size: 14px;
	margin-bottom: 8px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tia-tradingview-link .required {
	color: #e53e3e;
	margin-left: 2px;
}

.tia-tradingview-link__input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd5e0;
	border-radius: 4px;
	font-size: 14px;
	color: #2d3748;
	background: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	margin-bottom: 8px;
	box-sizing: border-box;
}

.tia-tradingview-link__input:focus {
	outline: none;
	border-color: #4299e1;
	box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.tia-tradingview-link__input:disabled {
	background-color: #f7fafc;
	cursor: not-allowed;
}

.tia-tradingview-link__helper {
	font-size: 13px;
	color: #718096;
	font-style: italic;
	margin: 0 0 16px 0;
	margin-bottom: 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tia-tradingview-link__link-btn {
	background: #ffd700;
	color: #1a202c;
	border: none;
	border-radius: 24px;
	padding: 12px 24px;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	transition: background-color 0.2s ease;
}

.tia-tradingview-link__link-btn:hover {
	background: #ffed4e;
}

.tia-tradingview-link__link-btn:disabled {
	background: #e2e8f0;
	color: #a0aec0;
	cursor: not-allowed;
}

.tia-tradingview-link__linked {
	margin-bottom: 16px;
}

.tia-tradingview-link__username-display {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding: 10px 12px;
	background: #f7fafc;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
}

.tia-tradingview-link__username-value {
	font-size: 14px;
	color: #2d3748;
	font-weight: 500;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tia-tradingview-link__status {
	font-size: 13px;
	color: #38a169;
	font-weight: 500;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tia-tradingview-link__unlink-btn {
	background: #4299e1;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	transition: background-color 0.2s ease;
}

.tia-tradingview-link__unlink-btn:hover {
	background: #3182ce;
}

.tia-tradingview-link__unlink-btn:disabled {
	background: #cbd5e0;
	cursor: not-allowed;
}

.tia-tradingview-link__response {
	margin-top: 16px;
	padding: 12px;
	border-radius: 4px;
}

.tia-tradingview-link__response--success {
	background: #f0fff4;
	border: 1px solid #9ae6b4;
}

.tia-tradingview-link__response--error {
	background: #fff5f5;
	border: 1px solid #fc8181;
}

.tia-tradingview-link__success {
	color: #22543d;
	font-size: 14px;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tia-tradingview-link__error {
	color: #742a2a;
	font-size: 14px;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tia-tradingview-link p {
	margin: 0;
	color: #4a5568;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

