/* AI Internal Links - Settings Page Styles */

.aiil-settings-wrap {
	display: flex;
	gap: 20px;
	max-width: 1200px;
}

.aiil-settings-wrap > form {
	flex: 1;
}

.aiil-settings-wrap .notice {
	margin-bottom: 0;
	margin-top: 0;
}

.aiil-settings-wrap form {
	background: #fff;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.aiil-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 0 0 300px;
	min-width: 300px;
}

.aiil-box {
	background: #fff;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.aiil-box h3 {
	margin-top: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e5e5;
}

.aiil-box ul {
	margin: 0;
	padding-left: 20px;
}

.aiil-box ul li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.aiil-test-credentials {
	margin-left: 10px;
}

.aiil-test-credentials:disabled {
	opacity: 0.6;
}

/* Form field enhancements */
.form-table th {
	font-weight: 600;
}

.form-table td input[type="password"],
.form-table td input[type="text"].regular-text {
	min-width: 350px;
}

.form-table td .description {
	font-size: 13px;
	color: #646970;
	margin-top: 5px;
}

/* Responsive */
@media screen and (max-width: 782px) {
	.aiil-settings-wrap {
		flex-direction: column;
	}

	.aiil-sidebar {
		order: -1;
	}

	.form-table td input[type="password"],
	.form-table td input[type="text"].regular-text {
		min-width: 100%;
		max-width: 100%;
	}
}

/* Premium badge */
em {
	color: #2271b1;
	font-style: normal;
	font-weight: 600;
	font-size: 0.85em;
}

/* Test credentials messages */
.aiil-test-message {
	margin: 8px 0 0 0;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
}

.aiil-test-success {
	background: #d4edda;
	color: #155724;
	border-left: 3px solid #28a745;
}

.aiil-test-error {
	background: #f8d7da;
	color: #721c24;
	border-left: 3px solid #dc3545;
}

/* Pro Promo Box */
.aiil-pro-promo {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border: none !important;
}

.aiil-pro-promo h3 {
	color: #fff;
	border-bottom-color: rgba(255,255,255,0.2);
}

.aiil-pro-promo p,
.aiil-pro-promo ul,
.aiil-pro-promo li {
	color: #fff;
}

.aiil-pro-promo ul li {
	margin-bottom: 10px;
	line-height: 1.5;
}

.aiil-pro-promo .button-primary {
	background: #fff;
	border-color: #fff;
	color: #764ba2;
	font-weight: 600;
	text-shadow: none;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	transition: all 0.3s ease;
}

.aiil-pro-promo .button-primary:hover {
	background: #764ba2;
    border-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #fff;
}
