/**
 * STRYKE WP — Admin Dashboard Styles
 *
 * Loaded only on STRYKE WP admin pages (page=stryke-wp*).
 *
 * Two modes:
 *  1. Branding active  (body.stryke-shell)  → Branding provides shell,
 *     this file only provides dashboard-specific component styles.
 *  2. Standalone        (body.stryke-wp-page, no .stryke-shell) → This file
 *     provides its own full-screen shell (sidebar + main).
 *
 * @font-face for Inter is handled by the Branding module (when active) or
 * inline in the standalone shell block below.
 */

/* ==========================================================================
   DESIGN TOKENS (standalone mode — used when Branding is NOT active)
   ========================================================================== */

.stryke-wp-wrap {
	--stryke-cyan:    #189ba7;
	--stryke-cyan-hv: #147d87;
	--stryke-cyan-lo: rgba(24, 155, 167, 0.12);
	--stryke-dark:    #1a1a1a;
	--stryke-mid:     #363636;
	--stryke-surface: #252525;
	--stryke-sidebar: #111111;
	--stryke-text:    #f0f0f0;
	--stryke-muted:   #9e9e9e;
	--stryke-border:  #404040;
	--stryke-success: #4caf50;
	--stryke-warning: #ff9800;
	--stryke-error:   #f44336;

	--stryke-radius:     8px;
	--stryke-radius-lg:  12px;
	--stryke-sidebar-w:  240px;
	--stryke-transition: 200ms ease;
}

/* ==========================================================================
   WORDPRESS ADMIN OVERRIDES — STANDALONE MODE ONLY
   When Branding is active (body.stryke-shell), it handles WP chrome.
   ========================================================================== */

body.stryke-wp-page:not(.stryke-shell) {
	background: var(--stryke-dark, #1a1a1a) !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Hide WordPress admin chrome (standalone only) */
body.stryke-wp-page:not(.stryke-shell) #adminmenuback,
body.stryke-wp-page:not(.stryke-shell) #adminmenuwrap,
body.stryke-wp-page:not(.stryke-shell) #wpadminbar {
	display: none !important;
}

body.stryke-wp-page:not(.stryke-shell) #wpcontent,
body.stryke-wp-page:not(.stryke-shell) #wpbody,
body.stryke-wp-page:not(.stryke-shell) #wpbody-content {
	margin-left: 0 !important;
	padding-top: 0 !important;
	float: none !important;
}

body.stryke-wp-page:not(.stryke-shell) #wpwrap {
	min-height: 100vh;
	background: var(--stryke-dark, #1a1a1a);
}

body.stryke-wp-page:not(.stryke-shell) .wrap {
	margin: 0;
	padding: 0;
}

body.stryke-wp-page:not(.stryke-shell) h1.wp-heading-inline,
body.stryke-wp-page:not(.stryke-shell) .wp-header-end {
	display: none !important;
}

/* ==========================================================================
   APP SHELL — STANDALONE MODE (inside .stryke-wp-wrap only)
   ========================================================================== */

.stryke-wp-wrap {
	display: flex;
	min-height: 100vh;
	background: var(--stryke-dark);
	color: var(--stryke-text);
}

/* ==========================================================================
   SIDEBAR — STANDALONE MODE
   ========================================================================== */

.stryke-wp-wrap .stryke-sidebar {
	width: var(--stryke-sidebar-w);
	min-height: 100vh;
	background: var(--stryke-sidebar);
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	border-right: 1px solid var(--stryke-border);
	position: sticky;
	top: 0;
	height: 100vh;
	overflow-y: auto;
}

.stryke-wp-wrap .stryke-sidebar__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 24px 20px 20px;
	border-bottom: 1px solid var(--stryke-border);
}

.stryke-wp-wrap .stryke-logo__mark {
	width: 32px;
	height: 32px;
	background: var(--stryke-cyan);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	color: #000;
	flex-shrink: 0;
}

.stryke-wp-wrap .stryke-logo__text {
	font-size: 14px;
	font-weight: 500;
	color: var(--stryke-text);
	letter-spacing: 0.02em;
}

.stryke-wp-wrap .stryke-logo__text strong {
	font-weight: 700;
	color: var(--stryke-cyan);
}

.stryke-wp-wrap .stryke-nav {
	flex: 1;
	padding: 12px 0;
}

.stryke-wp-wrap .stryke-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.stryke-wp-wrap .stryke-nav__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	color: var(--stryke-muted);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: color var(--stryke-transition), background var(--stryke-transition);
	position: relative;
	border-left: 3px solid transparent;
}

.stryke-wp-wrap .stryke-nav__item:hover {
	color: var(--stryke-text);
	background: rgba(255, 255, 255, 0.04);
}

.stryke-wp-wrap .stryke-nav__item.is-active {
	color: var(--stryke-cyan);
	background: var(--stryke-cyan-lo);
	border-left-color: var(--stryke-cyan);
}

.stryke-wp-wrap .stryke-nav__item .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* Active dot badge in standalone sidebar */
.stryke-wp-wrap .stryke-badge {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	margin-left: auto;
	flex-shrink: 0;
}

.stryke-wp-wrap .stryke-badge--on {
	background: var(--stryke-success);
	box-shadow: 0 0 6px rgba(76, 175, 80, 0.5);
}

.stryke-wp-wrap .stryke-sidebar__footer {
	padding: 16px 20px;
	border-top: 1px solid var(--stryke-border);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.stryke-wp-wrap .stryke-version {
	font-size: 11px;
	color: var(--stryke-border);
}

.stryke-wp-wrap .stryke-footer-link {
	font-size: 11px;
	color: var(--stryke-muted);
	text-decoration: none;
	transition: color var(--stryke-transition);
}

.stryke-wp-wrap .stryke-footer-link:hover,
.stryke-wp-wrap .stryke-footer-link--active {
	color: var(--stryke-cyan);
}

.stryke-wp-wrap .stryke-footer-link .dashicons {
	font-size: 12px !important;
	width: 12px !important;
	height: 12px !important;
	vertical-align: middle;
	margin-right: 2px;
}

/* ==========================================================================
   MAIN CONTENT — STANDALONE MODE
   ========================================================================== */

.stryke-wp-wrap .stryke-main {
	flex: 1;
	min-width: 0;
	overflow-y: auto;
}

.stryke-wp-wrap .stryke-main__inner {
	padding: 32px 36px;
	max-width: 1200px;
}

/* ==========================================================================
   PAGE HEADER (shared — works in both modes)
   ========================================================================== */

.stryke-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 32px;
	flex-wrap: wrap;
	gap: 16px;
}

.stryke-page-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
}

.stryke-page-header__icon {
	font-size: 32px !important;
	width: 32px !important;
	height: 32px !important;
	color: var(--stryke-primary, var(--stryke-cyan, #189ba7));
}

.stryke-page-title {
	font-size: 24px !important;
	font-weight: 600 !important;
	color: var(--stryke-text, #f0f0f0) !important;
	margin: 0 !important;
	line-height: 1.2 !important;
}

.stryke-page-subtitle {
	font-size: 13px;
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
	margin: 4px 0 0 !important;
}

/* ==========================================================================
   MODULE GRID (shared — works in both modes)
   ========================================================================== */

.stryke-module-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

/* ==========================================================================
   CARDS (scoped to STRYKE WP dashboard content)
   ========================================================================== */

.stryke-module-grid .stryke-card,
.stryke-module-description.stryke-card {
	background: var(--stryke-card-bg, var(--stryke-mid, #363636));
	border-radius: 12px;
	border: 1px solid var(--stryke-border, #404040);
	transition: border-color 200ms ease, box-shadow 200ms ease;
	overflow: hidden;
}

.stryke-module-grid .stryke-card:hover {
	border-color: rgba(24, 155, 167, 0.3);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.stryke-module-grid .stryke-card--active {
	border-color: rgba(24, 155, 167, 0.4);
	box-shadow: 0 0 0 1px rgba(24, 155, 167, 0.15);
}

.stryke-card__header {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 20px 0;
}

.stryke-card__icon {
	width: 40px;
	height: 40px;
	background: rgba(24, 155, 167, 0.12);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--stryke-primary, #189ba7);
	flex-shrink: 0;
	font-size: 20px !important;
	width: 40px !important;
	height: 40px !important;
}

.stryke-card__meta {
	flex: 1;
	min-width: 0;
}

.stryke-card__name {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: var(--stryke-text, #f0f0f0) !important;
	margin: 0 !important;
	line-height: 1.3 !important;
}

.stryke-card__version {
	font-size: 11px;
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
	font-family: 'SF Mono', 'Fira Code', monospace;
}

.stryke-card__description {
	padding: 12px 20px 0;
	font-size: 13px;
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
	line-height: 1.6;
	margin: 0;
}

.stryke-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	margin-top: 16px;
	border-top: 1px solid var(--stryke-border, #404040);
}

.stryke-module-description {
	padding: 20px;
	margin-bottom: 20px;
}

.stryke-module-description p {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
	line-height: 1.7;
}

/* ==========================================================================
   TOGGLE SWITCH
   ========================================================================== */

.stryke-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}

.stryke-toggle__input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.stryke-toggle__slider {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 22px;
	background: var(--stryke-border, #404040);
	border-radius: 11px;
	transition: background 200ms ease;
	flex-shrink: 0;
}

.stryke-toggle__slider::before {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	background: #fff;
	border-radius: 50%;
	transition: transform 200ms ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.stryke-toggle__input:checked + .stryke-toggle__slider {
	background: var(--stryke-primary, #189ba7);
}

.stryke-toggle__input:checked + .stryke-toggle__slider::before {
	transform: translateX(18px);
}

.stryke-toggle__input:focus-visible + .stryke-toggle__slider {
	outline: 2px solid var(--stryke-primary, #189ba7);
	outline-offset: 2px;
}

.stryke-toggle__label {
	font-size: 12px;
	font-weight: 500;
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
	min-width: 44px;
}

.stryke-toggle--lg .stryke-toggle__slider {
	width: 52px;
	height: 28px;
	border-radius: 14px;
}

.stryke-toggle--lg .stryke-toggle__slider::before {
	width: 20px;
	height: 20px;
	top: 4px;
	left: 4px;
}

.stryke-toggle--lg .stryke-toggle__input:checked + .stryke-toggle__slider::before {
	transform: translateX(24px);
}

.stryke-toggle--lg .stryke-toggle__label {
	font-size: 14px;
}

.stryke-toggle--saving .stryke-toggle__slider {
	opacity: 0.6;
}

/* ==========================================================================
   BUTTONS (Dashboard context)
   ========================================================================== */

.stryke-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	border: 1px solid transparent;
	text-decoration: none;
	transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
	line-height: 1;
}

.stryke-btn--primary {
	background: var(--stryke-primary, #189ba7);
	color: #000;
}

.stryke-btn--primary:hover {
	background: var(--stryke-primary-hover, #147d87);
	color: #000;
}

.stryke-btn--ghost {
	background: transparent;
	border-color: var(--stryke-border, #404040);
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
}

.stryke-btn--ghost:hover {
	border-color: var(--stryke-primary, #189ba7);
	color: var(--stryke-primary, #189ba7);
}

.stryke-btn--sm {
	padding: 6px 12px;
	font-size: 12px;
}

.stryke-btn .dashicons {
	font-size: 14px !important;
	width: 14px !important;
	height: 14px !important;
}

/* ==========================================================================
   NOTICES (Dashboard context)
   ========================================================================== */

.stryke-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 13px;
}

.stryke-notice--info {
	background: rgba(24, 155, 167, 0.1);
	border: 1px solid rgba(24, 155, 167, 0.25);
	color: var(--stryke-primary, #189ba7);
}

.stryke-notice--warning {
	background: rgba(255, 152, 0, 0.1);
	border: 1px solid rgba(255, 152, 0, 0.25);
	color: #ff9800;
}

.stryke-notice--dev {
	background: rgba(255, 152, 0, 0.1);
	border: 1px solid rgba(255, 152, 0, 0.25);
	color: #ff9800;
}

.stryke-notice--success {
	background: rgba(76, 175, 80, 0.1);
	border: 1px solid rgba(76, 175, 80, 0.25);
	color: #4caf50;
}

.stryke-notice--error {
	background: rgba(244, 67, 54, 0.1);
	border: 1px solid rgba(244, 67, 54, 0.25);
	color: #f44336;
}

.stryke-notice .dashicons {
	flex-shrink: 0;
}

/* ==========================================================================
   TOAST NOTIFICATIONS (JS-driven)
   ========================================================================== */

.stryke-toast-wrap {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 8px;
	pointer-events: none;
}

.stryke-toast {
	background: var(--stryke-card-bg, var(--stryke-surface, #252525));
	border: 1px solid var(--stryke-border, #404040);
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 13px;
	color: var(--stryke-text, #f0f0f0);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 220px;
	animation: stryke-toast-in 200ms ease forwards;
	pointer-events: all;
}

.stryke-toast--success { border-left: 3px solid #4caf50; }
.stryke-toast--error   { border-left: 3px solid #f44336; }
.stryke-toast--info    { border-left: 3px solid #189ba7; }

@keyframes stryke-toast-in {
	from { opacity: 0; transform: translateX(16px); }
	to   { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   RESPONSIVE — STANDALONE MODE
   ========================================================================== */

@media (max-width: 900px) {
	.stryke-wp-wrap .stryke-sidebar {
		width: 200px;
	}

	.stryke-wp-wrap .stryke-main__inner {
		padding: 24px 20px;
	}
}

@media (max-width: 680px) {
	.stryke-wp-wrap {
		flex-direction: column;
	}

	.stryke-wp-wrap .stryke-sidebar {
		width: 100%;
		min-height: auto;
		height: auto;
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		padding: 12px;
	}

	.stryke-module-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   MODULE SETTINGS SHARED COMPONENTS
   ========================================================================== */

.stryke-text-muted {
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
	font-size: 13px;
}

.stryke-form-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--stryke-border, #404040);
}

.stryke-field-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.stryke-connector-settings,
.stryke-wip-settings {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.stryke-btn--danger {
	background: rgba(244, 67, 54, 0.12);
	border: 1px solid rgba(244, 67, 54, 0.4);
	color: #f44336;
}

.stryke-btn--danger:hover {
	background: rgba(244, 67, 54, 0.22);
	border-color: #f44336;
	color: #f44336;
}

/* ==========================================================================
   CONNECTOR MODULE — STATUS & INFO TABLE
   ========================================================================== */

.stryke-status-indicator {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 16px;
}

.stryke-status-indicator--active {
	background: rgba(76, 175, 80, 0.1);
	border: 1px solid rgba(76, 175, 80, 0.25);
	color: #4caf50;
}

.stryke-status-indicator--inactive {
	background: rgba(158, 158, 158, 0.1);
	border: 1px solid rgba(158, 158, 158, 0.2);
	color: #9e9e9e;
}

.stryke-status-indicator__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}

.stryke-info-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 12px;
}

.stryke-info-table th,
.stryke-info-table td {
	padding: 8px 12px;
	text-align: left;
	border-bottom: 1px solid var(--stryke-border, #404040);
	font-size: 13px;
}

.stryke-info-table th {
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
	font-weight: 500;
	width: 160px;
}

.stryke-info-table td {
	color: var(--stryke-text, #f0f0f0);
}

.stryke-info-table code {
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--stryke-border, #404040);
	border-radius: 4px;
	padding: 3px 8px;
	font-size: 12px;
	color: #4dd0e1;
	font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ==========================================================================
   CONNECTOR MODULE — API KEY BANNER
   ========================================================================== */

.stryke-key-banner {
	background: rgba(255, 152, 0, 0.12);
	border: 1px solid rgba(255, 152, 0, 0.4);
	border-radius: 8px;
	padding: 20px 24px;
	margin-bottom: 20px;
}

.stryke-key-banner p {
	color: var(--stryke-text, #f0f0f0);
	font-size: 13px;
	line-height: 1.6;
}

.stryke-key-banner__headline {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #ffb74d;
	margin: 0 0 8px !important;
}

.stryke-key-display {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 152, 0, 0.25);
	border-radius: 8px;
	padding: 12px 16px;
	margin: 12px 0;
}

.stryke-key-display code {
	flex: 1;
	font-family: 'SF Mono', 'Fira Code', monospace;
	font-size: 13px;
	color: #4dd0e1;
	word-break: break-all;
	letter-spacing: 0.02em;
}

.stryke-key-ttl {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #ffcc80;
	margin: 0 !important;
}

.stryke-key-ttl #stryke-key-countdown {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   CONNECTOR MODULE — VERSION FOOTER
   ========================================================================== */

.stryke-connector-version {
	text-align: center;
	font-size: 11px;
	color: var(--stryke-border, #404040);
	padding: 16px 0 8px;
	letter-spacing: 0.04em;
}

/* ==========================================================================
   CONNECTOR MODULE — ENDPOINT TABLE
   ========================================================================== */

.stryke-endpoint-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.stryke-endpoint-table th {
	padding: 8px 12px;
	text-align: left;
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
	font-weight: 500;
	border-bottom: 2px solid var(--stryke-border, #404040);
}

.stryke-endpoint-table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--stryke-border, #404040);
	color: var(--stryke-text, #f0f0f0);
	vertical-align: middle;
}

.stryke-endpoint-table code {
	font-family: 'SF Mono', 'Fira Code', monospace;
	font-size: 12px;
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
}

.stryke-method-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	font-family: 'SF Mono', 'Fira Code', monospace;
	letter-spacing: 0.03em;
}

.stryke-method-badge--get {
	background: rgba(76, 175, 80, 0.15);
	color: #4caf50;
	border: 1px solid rgba(76, 175, 80, 0.3);
}

.stryke-method-badge--post {
	background: rgba(24, 155, 167, 0.12);
	color: #189ba7;
	border: 1px solid rgba(24, 155, 167, 0.3);
}

.stryke-method-badge--put {
	background: rgba(255, 152, 0, 0.12);
	color: #ff9800;
	border: 1px solid rgba(255, 152, 0, 0.3);
}

.stryke-method-badge--delete {
	background: rgba(244, 67, 54, 0.12);
	color: #f44336;
	border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ==========================================================================
   PAGE HEADER — COMPACT VARIANT
   ========================================================================== */

.stryke-page-header--compact {
	align-items: center;
	margin-bottom: 20px;
	gap: 12px;
}

.stryke-page-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

/* ==========================================================================
   VERSION BADGE
   ========================================================================== */

.stryke-version-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	font-family: 'SF Mono', 'Fira Code', monospace;
	background: rgba(24, 155, 167, 0.12);
	color: var(--stryke-primary, #189ba7);
	border: 1px solid rgba(24, 155, 167, 0.25);
	letter-spacing: 0.03em;
	white-space: nowrap;
}

/* ==========================================================================
   MODULE INTRO TEXT
   ========================================================================== */

.stryke-module-intro {
	font-size: 14px;
	color: var(--stryke-text-muted, var(--stryke-muted, #9e9e9e));
	line-height: 1.6;
	margin: 0 0 20px;
}

/* ==========================================================================
   CONNECTOR — CARD (standalone card styling for connector settings)
   ========================================================================== */

.stryke-connector-card {
	background: var(--stryke-card-bg, var(--stryke-mid, #363636));
	border-radius: 12px;
	border: 1px solid var(--stryke-border, #404040);
	padding: 20px;
}

.stryke-connector-card--connected {
	border-color: rgba(76, 175, 80, 0.3);
}

/* ==========================================================================
   CONNECTOR — STATUS INDICATOR (prominent)
   ========================================================================== */

.stryke-connector-status {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 16px;
}

.stryke-connector-status--active {
	background: rgba(76, 175, 80, 0.1);
	border: 1px solid rgba(76, 175, 80, 0.3);
	color: #4caf50;
}

.stryke-connector-status--inactive {
	background: rgba(158, 158, 158, 0.1);
	border: 1px solid rgba(158, 158, 158, 0.25);
	color: #9e9e9e;
}

.stryke-connector-status__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
	box-shadow: 0 0 8px currentColor;
}

.stryke-connector-status--active .stryke-connector-status__dot {
	animation: stryke-pulse-dot 2s ease-in-out infinite;
}

@keyframes stryke-pulse-dot {
	0%, 100% { box-shadow: 0 0 4px currentColor; }
	50%      { box-shadow: 0 0 12px currentColor; }
}

.stryke-connector-status__text {
	flex: 1;
}

/* ==========================================================================
   CONNECTOR — COLLAPSIBLE KEY MANAGEMENT
   ========================================================================== */

.stryke-connector-key-details {
	padding: 0;
	overflow: hidden;
}

.stryke-connector-key-summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: var(--stryke-text, #f0f0f0);
	list-style: none;
	-webkit-user-select: none;
	user-select: none;
	transition: background 200ms ease;
}

.stryke-connector-key-summary::-webkit-details-marker {
	display: none;
}

.stryke-connector-key-summary:hover {
	background: rgba(255, 255, 255, 0.03);
}

.stryke-connector-key-summary__arrow {
	display: inline-flex;
	font-size: 10px;
	transition: transform 200ms ease;
	color: var(--stryke-muted, #9e9e9e);
}

.stryke-connector-key-summary__arrow::before {
	content: '\25B6';
}

.stryke-connector-key-details[open] .stryke-connector-key-summary__arrow {
	transform: rotate(90deg);
}

.stryke-connector-key-summary .dashicons {
	font-size: 16px !important;
	width: 16px !important;
	height: 16px !important;
	color: var(--stryke-primary, #189ba7);
}

.stryke-connector-key-hint {
	font-size: 12px;
	font-weight: 400;
	color: var(--stryke-muted, #9e9e9e);
	margin-left: auto;
}

.stryke-connector-key-content {
	padding: 0 20px 20px;
	border-top: 1px solid var(--stryke-border, #404040);
}

.stryke-connector-divider {
	border: none;
	border-top: 1px solid var(--stryke-border, #404040);
	margin: 16px 0;
}

/* ==========================================================================
   CONNECTOR — SECTION TITLES (better readability)
   ========================================================================== */

.stryke-connector-section-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--stryke-text, #f0f0f0);
	margin: 0 0 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.stryke-connector-section-title .dashicons {
	font-size: 18px !important;
	width: 18px !important;
	height: 18px !important;
	color: var(--stryke-primary, #189ba7);
}

/* Better endpoint table heading contrast */
.stryke-connector-settings .stryke-endpoint-table th {
	color: var(--stryke-text, #f0f0f0);
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.stryke-connector-settings .stryke-endpoint-table td {
	font-size: 13px;
}

.stryke-connector-settings .stryke-endpoint-table code {
	color: #4dd0e1;
	font-size: 12px;
}

/* ==========================================================================
   SUPPORT PAGE — GRID LAYOUT (shared — used by Branding module)
   ========================================================================== */

.stryke-support-page {
	max-width: 900px;
}

.stryke-grid {
	display: grid;
	gap: 20px;
}

.stryke-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 720px) {
	.stryke-grid--3 {
		grid-template-columns: 1fr;
	}
}
