		/* ── Wrapper ── */
		.wpinsiders-am {
			max-width: 1000px;
			margin: 20px auto;
			font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
			color: #111827;
		}

		/* ── Page header ── */
		.wpinsiders-am-header {
			margin-bottom: 24px;
			padding-bottom: 16px;
			border-bottom: 1px solid #e5e7eb;
		}
		.wpinsiders-am-header h2 {
			margin: 0 0 4px;
			font-size: 1.6rem;
			font-weight: 700;
			color: #111827;
		}
		.wpinsiders-am-subtitle {
			margin: 0;
			font-size: 0.875rem;
			color: #6b7280;
		}

		/* ── Grid ── */
		.wpinsiders-dashboard-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
			gap: 24px;
		}

		/* ── Card ── */
		.wpinsiders-license-card {
			background: #fff;
			border: 1px solid #e5e7eb;
			border-radius: 10px;
			padding: 22px;
			box-shadow: 0 1px 4px rgba(0,0,0,0.07);
			transition: transform 0.18s ease, box-shadow 0.18s ease;
			display: flex;
			flex-direction: column;
			gap: 14px;
		}
		.wpinsiders-license-card:hover {
			transform: translateY(-3px);
			box-shadow: 0 4px 12px rgba(0,0,0,0.1);
		}
		.wpinsiders-card-expired {
			border-left: 4px solid #ef4444;
		}
		.wpinsiders-card-active {
			border-left: 4px solid #22c55e;
		}
		.wpinsiders-card-inactive {
			border-left: 4px solid #9ca3af;
		}

		/* ── Card header row ── */
		.wpinsiders-license-header {
			display: flex;
			justify-content: space-between;
			align-items: center;
			gap: 10px;
		}
		.wpinsiders-license-key {
			font-family: 'Courier New', monospace;
			font-size: 0.82rem;
			font-weight: 600;
			color: #1e293b;
			background: #f1f5f9;
			padding: 5px 9px;
			border-radius: 5px;
			word-break: break-all;
		}

		/* ── Status badges ── */
		.wpinsiders-status {
			font-size: 0.7rem;
			text-transform: uppercase;
			font-weight: 700;
			letter-spacing: 0.05em;
			padding: 3px 10px;
			border-radius: 9999px;
			white-space: nowrap;
			flex-shrink: 0;
		}
		.wpinsiders-status-active   { background: #dcfce7; color: #15803d; }
		.wpinsiders-status-expired  { background: #fee2e2; color: #b91c1c; }
		.wpinsiders-status-inactive { background: #f3f4f6; color: #6b7280; }

		/* ── Meta rows ── */
		.wpinsiders-license-meta {
			display: flex;
			flex-direction: column;
			gap: 8px;
		}
		.wpinsiders-meta-row {
			display: flex;
			justify-content: space-between;
			font-size: 0.875rem;
		}
		.wpinsiders-meta-label {
			color: #6b7280;
		}
		.wpinsiders-meta-value {
			font-weight: 500;
			color: #111827;
		}

		/* ── Expiry warning ── */
		.wpinsiders-expiry-warning {
			font-size: 0.8rem;
			font-weight: 600;
			color: #92400e;
			background: #fef3c7;
			border: 1px solid #fde68a;
			border-radius: 6px;
			padding: 6px 10px;
		}

		/* ── Action buttons ── */
		.wpinsiders-license-actions {
			margin-top: auto;
		}
		.wpinsiders-download-btn {
			display: block;
			background: #2563eb;
			color: #fff !important;
			text-decoration: none !important;
			padding: 10px 20px;
			border-radius: 7px;
			font-weight: 600;
			font-size: 0.9rem;
			text-align: center;
			transition: background 0.2s ease;
			box-sizing: border-box;
		}
		.wpinsiders-download-btn:hover { background: #1d4ed8; }
		.wpinsiders-renew-btn          { background: #f97316; }
		.wpinsiders-renew-btn:hover    { background: #ea580c; }
		.wpinsiders-buy-btn {
			display: inline-block;
			width: auto;
			padding: 11px 28px;
			margin-top: 12px;
		}

		/* ── Empty state ── */
		.wpinsiders-empty-state {
			text-align: center;
			padding: 50px 30px;
			background: #f9fafb;
			border: 2px dashed #d1d5db;
			border-radius: 12px;
		}
		.wpinsiders-empty-icon {
			font-size: 2.5rem;
			margin-bottom: 12px;
		}
		.wpinsiders-empty-state h3 {
			margin: 0 0 8px;
			font-size: 1.1rem;
			color: #111827;
		}
		.wpinsiders-empty-state p {
			margin: 0;
			color: #6b7280;
			font-size: 0.9rem;
		}

		/* ── Notices ── */
		.wpinsiders-notice {
			padding: 14px 18px;
			border-radius: 8px;
			margin-bottom: 20px;
			font-size: 0.9rem;
			display: flex;
			align-items: center;
			gap: 10px;
		}
		.wpinsiders-notice-error {
			background: #fef2f2;
			color: #991b1b;
			border: 1px solid #fecaca;
		}
		.wpinsiders-notice-info {
			background: #eff6ff;
			color: #1e40af;
			border: 1px solid #bfdbfe;
		}
		.wpinsiders-notice-icon {
			font-size: 1.1rem;
			flex-shrink: 0;
		}

/* CSS Variables */
:root {
    --wpis-bg: #f8fafc;
    --wpis-blue: #2563eb;
    --wpis-dark: #0f172a;
    --wpis-slate: #64748b;
    --wpis-border: #e2e8f0;
}

.wpis-login-root {
    min-height: 100vh;
    background-color: var(--wpis-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.wpis-login-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    margin: 0 auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.wpis-back-link {
    position: absolute;
    top: -4rem;
    left: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wpis-slate);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.wpis-back-link:hover { color: var(--wpis-blue); }

.wpis-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.wpis-logo-box {
    width: 48px;
    height: 48px;
    background: var(--wpis-blue);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2);
}

.wpis-brand-name {
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--wpis-dark);
}

.wpis-login-card {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid var(--wpis-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
}

.wpis-card-header { text-align: center; margin-bottom: 2.5rem; }
.wpis-card-header h1 { font-size: 1.875rem; font-weight: 800; color: var(--wpis-dark); margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.wpis-card-header p { color: var(--wpis-slate); font-size: 1rem; margin: 0; }

#wpis-login-form .wpis-google-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem;
    background: white !important;
    border: 2px solid var(--wpis-border) !important;
    padding: 1rem !important;
    border-radius: 1.25rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1.5rem !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

#wpis-login-form .wpis-google-btn:hover { background: #f8fafc !important; border-color: #cbd5e1 !important; color: #475569 !important; text-decoration: none !important; }

.wpis-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.wpis-divider::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--wpis-border);
}

.wpis-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.2em;
}

#wpis-login-form .wpis-label {
    display: block !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 0.75rem !important;
    margin-left: 0.25rem !important;
}

#wpis-login-form .wpis-input {
    width: 100% !important;
    padding: 1.125rem 1.5rem !important;
    background: #f8fafc !important;
    border: 1px solid var(--wpis-border) !important;
    border-radius: 1.25rem !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    margin-bottom: 1.25rem !important;
    transition: all 0.2s;
    box-sizing: border-box !important;
    display: block !important;
    max-width: 100% !important;
}

#wpis-login-form .wpis-input:focus {
    outline: none !important;
    border-color: var(--wpis-blue) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

#wpis-login-form .wpis-primary-btn {
    width: 100% !important;
    background: var(--wpis-dark) !important;
    color: white !important;
    border: none !important;
    padding: 1.125rem !important;
    border-radius: 1.25rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2) !important;
    transition: all 0.2s;
    box-sizing: border-box !important;
}

#wpis-login-form .wpis-primary-btn:hover { background: #1e293b !important; transform: scale(0.98); }

#wpis-login-form .wpis-secondary-btn {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    color: var(--wpis-slate) !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 1rem !important;
    cursor: pointer;
    margin-top: 10px !important;
}

.wpis-footer-text {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--wpis-slate);
}

.wpis-footer-text a { color: var(--wpis-blue); font-weight: 700; text-decoration: none; }
