/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 12 2026 | 15:54:36 */
/*--------------------------------------------------------------
# User Sidebar Tabs
--------------------------------------------------------------*/
.user-sidebar-tabs {
	display: flex;
	border-bottom: 1px solid #e5e7eb;
	margin: 0 -1.5rem;
	padding: 0 1.5rem;
}

.user-tab {
	flex: 1;
	padding: 0.875rem 1rem;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #6b7280;
	cursor: pointer;
	transition: all 0.2s ease;
}

.user-tab:hover {
	color: #374151;
	background: #f9fafb;
}

.user-tab.active {
	color: #14b8a6;
	border-bottom-color: #14b8a6;
}

.user-tab-content {
	display: none;
	padding-top: 1.5rem;
}

.user-tab-content.active {
	display: block;
}

/*--------------------------------------------------------------
# Affiliates Section
--------------------------------------------------------------*/
.affiliates-section {
	padding: 0;
}

.affiliates-desc {
	font-size: 0.875rem;
	color: #6b7280;
	margin: 0 0 1.25rem;
	line-height: 1.5;
}

.affiliates-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.affiliate-item {
	animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.affiliate-input-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.affiliate-input {
	flex: 1;
	padding: 0.625rem 0.875rem;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	font-size: 0.875rem;
	font-family: 'Courier New', monospace;
	direction: ltr;
	text-align: left;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.affiliate-input:focus {
	outline: none;
	border-color: #14b8a6;
	box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.affiliate-input::placeholder {
	color: #9ca3af;
	font-family: inherit;
}

.btn-copy-affiliate,
.btn-remove-affiliate {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-copy-affiliate:hover {
	background: #ecfdf5;
	border-color: #14b8a6;
	color: #14b8a6;
}

.btn-copy-affiliate svg {
	color: #6b7280;
	transition: color 0.2s ease;
}

.btn-copy-affiliate:hover svg {
	color: #14b8a6;
}

.btn-remove-affiliate:hover {
	background: #fef2f2;
	border-color: #ef4444;
}

.btn-remove-affiliate svg {
	color: #6b7280;
	transition: color 0.2s ease;
}

.btn-remove-affiliate:hover svg {
	color: #ef4444;
}

.btn-add-affiliate {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.75rem 1rem;
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 6px;
	font-size: 0.875rem;
	color: #6b7280;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-bottom: 1.5rem;
}

.btn-add-affiliate:hover {
	background: #ecfdf5;
	border-color: #14b8a6;
	color: #14b8a6;
}

.btn-add-affiliate svg {
	transition: transform 0.2s ease;
}

.btn-add-affiliate:hover svg {
	transform: scale(1.1);
}

/* Affiliates form actions */
.affiliates-section .form-actions {
	margin-top: 1rem;
}

.affiliates-section .form-message {
	margin-top: 1rem;
}

/*--------------------------------------------------------------
# Agent Column & Filter (Admin)
--------------------------------------------------------------*/

.col-agent {
	position: relative;
}

.agent-cell {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.agent-cell-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

.agent-cell-name {
	font-size: 0.875rem;
	color: #1a1a2e;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.agent-filter-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.75rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	font-size: 0.875rem;
	color: #374151;
	cursor: pointer;
	transition: all 0.2s ease;
}

.agent-filter-btn:hover {
	border-color: #d1d5db;
	background: #f9fafb;
}

.agent-filter-btn svg {
	width: 10px;
	height: 6px;
	transition: transform 0.2s ease;
}

.agent-filter-dropdown {
	position: fixed;
	z-index: 10000;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	min-width: 280px;
	max-height: 350px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.agent-filter-search {
	padding: 0.75rem;
	border-bottom: 1px solid #e5e7eb;
}

.agent-filter-search input {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	font-size: 0.875rem;
}

.agent-filter-search input:focus {
	outline: none;
	border-color: #14b8a6;
}

.agent-filter-list {
	overflow-y: auto;
	max-height: 280px;
}

.agent-filter-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem 0.75rem;
	cursor: pointer;
	transition: background 0.15s ease;
}

.agent-filter-item:hover {
	background: #f3f4f6;
}

.agent-filter-item.selected {
	background: #ecfdf5;
}

.agent-filter-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

.agent-filter-name {
	font-size: 0.875rem;
	color: #1a1a2e;
}

/* Leads component admin state */
.leads-component.is-admin .leads-content {
	position: relative;
}

/* Affiliate Column */
.col-affiliate {
	min-width: 100px;
	font-family: 'Courier New', monospace;
	direction: ltr;
	text-align: left;
	font-size: 0.8125rem;
	color: #6b7280;
}