/**
 * Harmony User Sync Pro Admin Styles
 *
 * Styles for the admin interface elements of the plugin.
 *
 * @since 1.0.0
 */

/*
==========================================================================
General Feedback Styles
==========================================================================
*/


/*
==========================================================================
Target Site Add/Edit Page (#harmony_target_site_url, #wowown-hmyussy-test-connection-btn etc.)
==========================================================================
*/

/* Test Connection Button & Spinner */
#wowown-hmyussy-pro-test-connection-btn + .spinner {
	visibility: hidden; /* Hide spinner by default */
	float: none; /* Override WP default float if needed */
	vertical-align: middle;
	margin-left: 5px;
}
#wowown-hmyussy-pro-test-connection-btn.testing + .spinner {
	visibility: visible; /* Show spinner when button has 'testing' class (added by JS) */
}

/* Test Connection Result Area */
#wowown-hmyussy-pro-test-connection-result {
	margin-top: 10px;
	padding: 8px 12px;
	border-left-width: 4px;
	border-left-style: solid;
	display: none; /* Hidden until populated by JS */
}
#wowown-hmyussy-pro-test-connection-result.success {
	color: #00a32a;
	border-left-color: #46b450; /* WP success green border */
	background-color: #f0fff3;
	font-weight: bold;
	display: block;
}
#wowown-hmyussy-pro-test-connection-result.error {
	color: #d63638;
	border-left-color: #d63638; /* WP error red border */
	background-color: #fef0f1;
	font-weight: bold;
	display: block;
}


/*
==========================================================================
User Sync Prohibition Toggle (for users.php and manual-sync.php)
==========================================================================
*/
.wowown-hmyussy-sync-prohibit-status.allowed {
	color: #00a32a;
}
.wowown-hmyussy-sync-prohibit-status.prohibited {
	color: #d63638;
	font-weight: 600;
}

/* Row Actions - Minor styling if needed */
.wp-list-table .row-actions a.wowown-hmyussy-toggle-prohibit {
	padding: 0 3px; /* Adjust spacing */
}

.fixed.users .column-sync_propagation {
	width: 130px;
}


/*
==========================================================================
User Sync Rejection Toggle (for users.php and manual-sync.php)
==========================================================================
*/
.wowown-hmyussy-sync-rejection-status.unprotected {
	color: #00a32a; /* Green */
}
.wowown-hmyussy-sync-rejection-status.protected {
	color: #d63638; /* Red */
	font-weight: 600;
}
.wp-list-table .row-actions a.wowown-hmyussy-toggle-rejection {
	padding: 0 3px;
}
.fixed.users .column-sync_rejection {
	width: 120px;
}


/*
==========================================================================
Sync Log List Table
==========================================================================
*/


/*
==========================================================================
Manual Sync Page (#wowown-hmyussy-manual-sync-form etc.)
==========================================================================
*/


/*
==========================================================================
General Admin Page Wrapper (Optional)
==========================================================================
*/
