.invalid-feedback
{
	    font-size: .675em;
}

.sortable-shadow
{
	background:#f5f7fa;
	border:2px dashed #b8c2cc;
	box-shadow:inset 0 0 0 2px rgba(0,0,0,0.05);
}

.sortable-shadow td
{
	padding:0;
}

.modal-fullscreen
{
	width: 100% !important;
	max-width: 100% !important;
	min-width:100% !important;
	height: 100% !important;
	min-height: 100% !important;
	max-height:100% !important;
	margin:0 !important;
}
.modal-noaction .modal-footer
{
	display: none !important;
}

.lead-attribute-value
{
	font-size: 14px;
	font-weight: 500;
}

.pipeline-steps
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 10px 0;
}

.pipeline-step
{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 80px;
}

.pipeline-step-indicator
{
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	color: #94a3b8;
	transition: all 0.2s ease;
}

.pipeline-step.active .pipeline-step-indicator
{
	background: var(--primary, #3b82f6);
	border-color: var(--primary, #3b82f6);
	color: #fff;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.pipeline-step.completed .pipeline-step-indicator
{
	background: #22c55e;
	border-color: #22c55e;
	color: #fff;
}

.pipeline-step-label
{
	font-size: 12px;
	font-weight: 500;
	color: #64748b;
	text-align: center;
	white-space: nowrap;
}

.pipeline-step.active .pipeline-step-label
{
	color: var(--primary, #3b82f6);
	font-weight: 600;
}

.pipeline-step.completed .pipeline-step-label
{
	color: #22c55e;
}

.pipeline-step-connector
{
	flex: 1;
	height: 2px;
	background: #e2e8f0;
	min-width: 30px;
	max-width: 60px;
	margin-bottom: 28px;
}

.pipeline-step-connector.completed
{
	background: #22c55e;
}

@media (max-width: 768px)
{
	.pipeline-steps
	{
		flex-wrap: wrap;
		gap: 10px;
	}

	.pipeline-step
	{
		min-width: 60px;
	}

	.pipeline-step-connector
	{
		display: none;
	}

	.pipeline-step-label
	{
		font-size: 10px;
	}
}

.sidebar-note-item
{
	padding: 10px;
	background: var(--gray-50, #f8fafc);
	border-radius: 8px;
	margin-bottom: 10px;
}

.sidebar-note-item.pinned
{
	background: #eff6ff;
	border-left: 3px solid var(--primary, #3b82f6);
}

.sidebar-note-header
{
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.sidebar-note-author
{
	font-size: 12px;
	font-weight: 600;
	color: var(--gray-700, #334155);
}

.sidebar-note-time
{
	font-size: 11px;
	color: var(--gray-400, #94a3b8);
	margin-left: auto;
}

.sidebar-note-content
{
	font-size: 13px;
	color: var(--gray-600, #475569);
	line-height: 1.5;
}

.detail-tab-trigger
{
	cursor: pointer;
}

.lead-attributes-grid
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
} 

@media (max-width: 576px)
{
	.lead-attributes-grid
	{
		grid-template-columns: 1fr;
	}
} 

.badge-selector
{
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.badge-selector-label
{
	font-size: 11px;
	font-weight: 600;
	color: var(--gray-400, #94a3b8);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.badge-selector-dropdown
{
	display: block;
	width: 100%;
}

.badge-selector-btn
{
	width: 100%;
	padding: 10px 14px;
	border-radius: 10px;
	border: none;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.badge-selector-btn:hover
{
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.badge-selector-btn:active
{
	transform: translateY(0);
}

.badge-selector-btn::after
{
	border: none;
	content: "\F282";
	font-family: "bootstrap-icons";
	font-size: 10px;
	opacity: 0.7;
	margin: 0;
}

.badge-selector-btn.show::after
{
	content: "\F286";
}

.badge-selector-dropdown .dropdown-menu
{
	width: 100%;
	min-width: 200px;
	padding: 8px;
	border-radius: 12px;
	border: none;
	box-shadow: 0 10px 40px rgba(0,0,0,0.15);
	margin-top: 4px;
}

.badge-selector-dropdown .dropdown-item
{
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--gray-700, #334155);
	transition: all 0.15s ease;
}

.badge-selector-dropdown .dropdown-item:hover
{
	background: var(--gray-50, #f8fafc);
	transform: translateX(2px);
}

.badge-selector-dropdown .dropdown-item.active
{
	background: var(--gray-100, #f1f5f9);
	font-weight: 600;
}

.badge-selector-dropdown .dropdown-item.active::after
{
	content: "\F26B";
	font-family: "bootstrap-icons";
	font-size: 12px;
	margin-left: auto;
	color: var(--success, #22c55e);
}

.badge-selector-color-dot
{
	width: 12px;
	height: 12px;
	border-radius: 4px;
	flex-shrink: 0;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

 
 
.controller-tasks-list .app-content
{
	padding: 0px;
}

.controller-tasks-list .page-header
{
	display:none;
}

.controller-procedures-list .page-header
{
	display:none;
}

/* ========================================
   Settings Page Styles
   ======================================== */

.settings-nav-item.active
{
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.settings-nav-item.active i
{
	color: #ffffff;
}

@media (max-width: 768px)
{
	.settings-nav-wrapper
	{
		position: static;
	}
}

/* ========================================
   Calendar Page Enhancements
   ======================================== */

.schedule-actions
{
	display: flex;
	gap: 4px;
	margin-top: 6px;
}

.schedule-actions .btn
{
	padding: 2px 6px;
	font-size: 11px;
}

.day-event
{
	cursor: pointer;
}

.day-event:hover
{
	opacity: 0.8;
}

.calendar-day-cell
{
	cursor: pointer;
}

/* ========================================
   Calendar Day View
   ======================================== */

.calendar-day-view
{
	max-width: 1000px;
	margin: 0 auto;
}

.day-view-header
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.5rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	margin-bottom: 1.5rem;
}

.day-nav-group
{
	display: flex;
	align-items: center;
	gap: 1rem;
}

.day-title
{
	text-align: center;
	min-width: 200px;
}

.day-name
{
	display: block;
	font-size: 0.875rem;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.day-date
{
	display: block;
	font-size: 1.25rem;
	font-weight: 600;
	color: #1e293b;
}

.day-actions
{
	display: flex;
	gap: 0.5rem;
}

.day-view-content
{
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	overflow: hidden;
}

.day-timeline
{
	padding: 0;
}

.timeline-row
{
	display: flex;
	border-bottom: 1px solid #f1f5f9;
	min-height: 60px;
}

.timeline-row:last-child
{
	border-bottom: none;
}

.timeline-row.has-events
{
	background: #fafbfc;
}

.timeline-hour
{
	width: 70px;
	padding: 0.75rem 1rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #64748b;
	border-right: 1px solid #f1f5f9;
	flex-shrink: 0;
}

.timeline-events
{
	flex: 1;
	padding: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.timeline-empty
{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.timeline-empty:hover
{
	background: #f1f5f9;
}

.timeline-empty .add-event-hint
{
	font-size: 0.8125rem;
	color: #94a3b8;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.timeline-empty:hover .add-event-hint
{
	opacity: 1;
}

.timeline-event
{
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 1rem;
	background: #fff;
	border-radius: 8px;
	border-left: 3px solid #3b82f6;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.timeline-event.call
{
	border-left-color: #10b981;
}

.timeline-event.email
{
	border-left-color: #8b5cf6;
}

.timeline-event.meeting
{
	border-left-color: #3b82f6;
}

.timeline-event.task
{
	border-left-color: #f59e0b;
}

.timeline-event.reminder
{
	border-left-color: #ec4899;
}

.timeline-event.deadline
{
	border-left-color: #ef4444;
}

.timeline-event.completed
{
	opacity: 0.6;
	background: #f8fafc;
}

.timeline-event.completed .event-title
{
	text-decoration: line-through;
}

/* Drag & drop */
.timeline-event-placeholder
{
	background: #e0f2fe;
	border: 2px dashed #38bdf8;
	border-radius: 8px;
	min-height: 50px;
	margin: 0.25rem 0;
}

.timeline-row.drag-over
{
	background: #f0f9ff;
}

.timeline-event.ui-sortable-helper
{
	transform: rotate(1deg) scale(1.02);
	box-shadow: 0 12px 28px rgba(0,0,0,0.15);
	z-index: 1000;
	opacity: 0.95;
}

.event-info
{
	cursor: grab;
}

.event-info:active
{
	cursor: grabbing;
}

.event-time
{
	font-size: 0.875rem;
	font-weight: 600;
	color: #475569;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.event-time i
{
	font-size: 1rem;
	color: #64748b;
}

.event-info
{
	flex: 1;
	min-width: 0;
}

.event-title
{
	font-size: 0.9375rem;
	font-weight: 500;
	color: #1e293b;
	margin-bottom: 0.25rem;
}

.event-meta
{
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.75rem;
	color: #64748b;
}

.event-type-label
{
	background: #f1f5f9;
	padding: 0.125rem 0.5rem;
	border-radius: 4px;
}

.event-actions
{
	display: flex;
	gap: 0.25rem;
	flex-shrink: 0;
}

.day-summary
{
	padding: 1.25rem 1.5rem;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
}

.summary-title
{
	font-size: 0.8125rem;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.75rem;
}

.summary-stats
{
	display: flex;
	gap: 2rem;
}

.summary-stat
{
	text-align: center;
}

.stat-value
{
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #1e293b;
}

.stat-label
{
	font-size: 0.75rem;
	color: #64748b;
}

@media (max-width: 768px)
{
	.day-view-header
	{
		flex-direction: column;
		gap: 1rem;
	}

	.day-actions
	{
		width: 100%;
		justify-content: center;
	}

	.timeline-hour
	{
		width: 50px;
		padding: 0.5rem;
		font-size: 0.75rem;
	}

	.timeline-event
	{
		flex-wrap: wrap;
	}

	.event-actions
	{
		width: 100%;
		justify-content: flex-end;
		margin-top: 0.5rem;
	}

	.summary-stats
	{
		justify-content: space-around;
	}
}

/* Flatpickr custom styles */
.flatpickr-calendar
{
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	border: 1px solid #e2e8f0;
	font-family: 'Inter', sans-serif;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after
{
	display: none;
}

.flatpickr-months
{
	padding: 12px 8px 8px;
}

.flatpickr-months .flatpickr-month
{
	height: 36px;
}

.flatpickr-current-month
{
	font-size: 1rem;
	font-weight: 600;
	color: #1e293b;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month
{
	padding: 8px;
	border-radius: 8px;
	transition: background-color 0.2s;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover
{
	background: #f1f5f9;
}

.flatpickr-weekdays
{
	background: transparent;
	padding: 0 12px;
}

.flatpickr-weekday
{
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
}

.flatpickr-days
{
	padding: 0 8px 8px;
}

.flatpickr-day
{
	border-radius: 8px;
	font-weight: 500;
	color: #334155;
	transition: all 0.2s;
}

.flatpickr-day:hover
{
	background: #f1f5f9;
	border-color: #f1f5f9;
}

.flatpickr-day.today
{
	border-color: var(--primary-color, #3b82f6);
	background: transparent;
	color: var(--primary-color, #3b82f6);
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover
{
	background: var(--primary-color, #3b82f6);
	border-color: var(--primary-color, #3b82f6);
	color: #fff;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay
{
	color: #cbd5e1;
}

.flatpickr-time
{
	border-top: 1px solid #e2e8f0;
	padding: 12px;
	max-height: none;
	height: auto;
}

.flatpickr-time input
{
	font-size: 1.25rem;
	font-weight: 600;
	color: #1e293b;
}

.flatpickr-time .flatpickr-time-separator
{
	font-size: 1.25rem;
	font-weight: 600;
	color: #64748b;
}

.flatpickr-time .numInputWrapper:hover
{
	background: #f1f5f9;
	border-radius: 8px;
}

.flatpickr-time .numInputWrapper span.arrowUp,
.flatpickr-time .numInputWrapper span.arrowDown
{
	border: none;
	opacity: 0;
}

.flatpickr-time .numInputWrapper:hover span.arrowUp,
.flatpickr-time .numInputWrapper:hover span.arrowDown
{
	opacity: 1;
}

.flatpickr-input.form-control[readonly]
{
	background-color: #fff;
	cursor: pointer;
}

.flatpickr-input + .form-control
{
	cursor: pointer;
}

/* Wide modal for procedure editor */
.modal-content.modal-wide {
	max-width: 800px;
	width: 90%;
}

/* ========================================
   Dashboard Quick Stat Icon Colors
   ======================================== */
.quick-stat-icon.blue {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
}

.quick-stat-icon.green {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
}

.quick-stat-icon.orange {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

.quick-stat-icon.purple {
	background: rgba(139, 92, 246, 0.1);
	color: #8b5cf6;
}

.quick-stat-icon.red {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}

/* ========================================
   Empty State Small
   ======================================== */
.empty-state-sm {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
	text-align: center;
}

.empty-state-sm i {
	font-size: 2rem;
	color: #cbd5e1;
	margin-bottom: 0.75rem;
}

.empty-state-sm p {
	font-size: 0.875rem;
	color: #94a3b8;
	margin: 0;
}

/* ========================================
   Column Customizer
   ======================================== */

.col-hidden {
	display: none !important;
}

.btn-table-columns {
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 4px 12px;
	border-radius: 6px;
	gap: 6px;
	display: inline-flex;
	align-items: center;
}

.btn-table-columns i {
	font-size: 14px;
}

.col-customizer-wrap {
	position: relative;
	display: inline-block;
}

.col-customizer-panel {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 1050;
	width: 280px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.15);
	margin-top: 6px;
	overflow: hidden;
}

.col-customizer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid #f1f5f9;
}

.col-customizer-header span {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #1e293b;
}

.col-customizer-reset {
	font-size: 0.75rem;
	color: #64748b;
	background: none;
	border: none;
	cursor: pointer;
	padding: 2px 8px;
	border-radius: 4px;
	transition: all 0.15s ease;
}

.col-customizer-reset:hover {
	color: #ef4444;
	background: #fef2f2;
}

.col-customizer-list {
	list-style: none;
	margin: 0;
	padding: 8px;
	max-height: 320px;
	overflow-y: auto;
}

.col-customizer-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	transition: background 0.15s ease;
	cursor: default;
}

.col-customizer-item:hover {
	background: #f8fafc;
}

.col-customizer-item label {
	flex: 1;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #334155;
	cursor: pointer;
	margin: 0;
	user-select: none;
}

.col-customizer-item input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #3b82f6;
	cursor: pointer;
	flex-shrink: 0;
}

.col-drag-handle {
	cursor: grab;
	color: #94a3b8;
	font-size: 14px;
	flex-shrink: 0;
	padding: 0 2px;
	line-height: 1;
}

.col-drag-handle:active {
	cursor: grabbing;
}

.col-item-locked {
	opacity: 0.5;
}

.col-item-locked .col-drag-handle {
	cursor: default;
	visibility: hidden;
}

.col-item-locked label {
	cursor: default;
}

.col-item-locked input[type="checkbox"] {
	pointer-events: none;
}

.col-sortable-placeholder {
	border: 2px dashed #93c5fd;
	border-radius: 8px;
	background: #eff6ff;
	height: 38px;
	list-style: none;
	margin: 2px 0;
}

.col-lock-icon {
	font-size: 11px;
	color: #94a3b8;
}

@media (max-width: 576px) {
	.col-customizer-panel {
		width: calc(100vw - 32px);
		right: -8px;
	}
}

/* ========================================
   Sortable Table Headers
   ======================================== */

th[data-sort-column] {
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
	position: relative;
}

th[data-sort-column]:hover {
	background: rgba(0, 0, 0, 0.03);
}

th[data-sort-column]::after {
	font-family: "bootstrap-icons";
	font-size: 0.75em;
	margin-left: 4px;
	opacity: 0;
	transition: opacity 0.15s ease;
	content: "\F127";
}

th[data-sort-column]:hover::after {
	opacity: 0.4;
}

th.sort-asc::after {
	content: "\F148";
	opacity: 1 !important;
	color: var(--primary, #3b82f6);
}

th.sort-desc::after {
	content: "\F128";
	opacity: 1 !important;
	color: var(--primary, #3b82f6);
}

/* ========================================
   XTrack - Position Badges
   ======================================== */

.position-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	min-width: 44px;
}

.position-badge.top-3 {
	background: rgba(16, 185, 129, 0.15);
	color: #059669;
}

.position-badge.top-10 {
	background: rgba(59, 130, 246, 0.15);
	color: #2563eb;
}

.position-badge.top-30 {
	background: rgba(245, 158, 11, 0.15);
	color: #d97706;
}

.position-badge.top-100 {
	background: rgba(107, 114, 128, 0.15);
	color: #4b5563;
}

/* ========================================
   XTrack - Keyword Table
   ======================================== */

.kw-table {
	border-collapse: separate;
	border-spacing: 0;
}

.kw-table thead th {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #64748b;
	padding: 14px 16px;
	border-bottom: 2px solid #e2e8f0;
	white-space: nowrap;
}

.kw-table .kw-row {
	transition: background 0.15s ease;
}

.kw-table .kw-row:hover {
	background: #f8fafc;
}

.kw-table .kw-row td {
	padding: 16px;
	vertical-align: middle;
	border-bottom: 1px solid #f1f5f9;
}

.kw-col-keyword {
	min-width: 250px;
}

.kw-col-volume,
.kw-col-rank,
.kw-col-best,
.kw-col-change,
.kw-col-cpc {
	width: 100px;
}

.kw-col-tracked {
	width: 130px;
}

.kw-col-actions {
	width: 130px;
}

.kw-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.kw-name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1e293b;
	text-decoration: none;
	transition: color 0.15s ease;
}

.kw-name:hover {
	color: #3b82f6;
}

.kw-url {
	font-size: 0.75rem;
	color: #94a3b8;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 350px;
}

.kw-rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9375rem;
	font-weight: 700;
	min-width: 48px;
	padding: 6px 12px;
	border-radius: 8px;
}

.kw-rank.rank-top3 {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
	color: #059669;
}

.kw-rank.rank-top10 {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.06));
	color: #2563eb;
}

.kw-rank.rank-top30 {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.06));
	color: #d97706;
}

.kw-rank.rank-top100 {
	background: linear-gradient(135deg, rgba(107, 114, 128, 0.12), rgba(107, 114, 128, 0.06));
	color: #4b5563;
}

.kw-rank.rank-none {
	color: #cbd5e1;
	font-weight: 400;
}

.kw-best {
	font-size: 0.875rem;
	font-weight: 600;
	color: #10b981;
}

.kw-change {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 0.8125rem;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 6px;
}

.kw-change.up {
	color: #059669;
	background: rgba(16, 185, 129, 0.08);
}

.kw-change.down {
	color: #dc2626;
	background: rgba(239, 68, 68, 0.08);
}

.kw-change.neutral {
	color: #cbd5e1;
	background: none;
}

.kw-volume {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #1e293b;
}

.kw-cpc {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #64748b;
}

.kw-comp {
	font-size: 0.75rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 10px;
	display: inline-block;
}
.kw-comp.comp-low {
	background: #dcfce7;
	color: #15803d;
}
.kw-comp.comp-medium {
	background: #fef3c7;
	color: #b45309;
}
.kw-comp.comp-high {
	background: #fee2e2;
	color: #dc2626;
}

.kw-country {
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
	background: #f1f5f9;
	padding: 3px 8px;
	border-radius: 4px;
	letter-spacing: 0.5px;
}

.kw-tracked {
	font-size: 0.8125rem;
	color: #94a3b8;
}

.kw-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.kw-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #64748b;
	cursor: pointer;
	transition: all 0.15s ease;
	text-decoration: none;
	font-size: 0.875rem;
}

.kw-action-btn:hover {
	background: #f1f5f9;
	color: #3b82f6;
	border-color: #3b82f6;
}

.kw-action-btn.kw-action-delete:hover {
	background: #fef2f2;
	color: #ef4444;
	border-color: #ef4444;
}

.kw-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 2rem 0;
}

.kw-empty p {
	color: #94a3b8;
	font-size: 0.875rem;
	margin: 0;
}

@media (max-width: 768px) {
	.kw-table .kw-row td {
		padding: 12px 10px;
	}

	.kw-col-keyword {
		min-width: 180px;
	}

	.kw-url {
		max-width: 200px;
	}

	.kw-rank {
		font-size: 0.8125rem;
		padding: 4px 8px;
		min-width: 40px;
	}
}

.link-unstyled
{
	text-decoration: none;
	color: inherit;
}

.table-scroll
{
	overflow-x: auto;
}

.col-w-80
{
	width: 80px;
}

.col-w-100
{
	width: 100px;
}

.col-w-120
{
	width: 120px;
}

.col-w-140
{
	width: 140px;
}

.product-view-img
{
	max-width: 100%;
	max-height: 300px;
	object-fit: contain;
}

.product-thumb
{
	border-radius: 4px;
	object-fit: cover;
	width: 40px;
	height: 40px;
}

.creative-thumb
{
	max-height: 200px;
	object-fit: cover;
}

.input-code
{
	font-family: monospace;
	font-size: 0.8125rem;
}

.select-max-sm
{
	max-width: 200px;
}

.select-max-md
{
	max-width: 400px;
}

.empty-state-icon
{
	font-size: 3rem;
	color: #94a3b8;
}

.dot-unread
{
	font-size: 0.5rem;
}

.header-site-indicator
{
	display: flex;
	align-items: center;
}

.header-site-indicator .btn
{
	font-size: 0.8125rem;
	white-space: nowrap;
}

.site-picker-grid
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}

.site-picker-card
{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
	padding: 28px 20px;
	background: #fff;
	border: 2px solid #e2e8f0;
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	transition: all 0.2s ease;
}

.site-picker-card:hover
{
	border-color: #3b82f6;
	box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
	transform: translateY(-4px);
	color: inherit;
	text-decoration: none;
}

.site-picker-logo
{
	width: 64px;
	height: 64px;
}

.site-picker-logo img
{
	width: 64px;
	height: 64px;
	border-radius: 14px;
	object-fit: cover;
}

.site-picker-initials
{
	width: 64px;
	height: 64px;
	border-radius: 14px;
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.375rem;
	font-weight: 700;
}

.site-picker-name
{
	font-size: 1rem;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
}

.site-picker-url
{
	font-size: 0.8125rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.site-picker-status
{
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
}

.site-picker-page
{
	min-height: 100vh;
	background: #f8fafc;
}

.site-picker-topbar
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 32px;
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
}

.site-picker-brand-logo
{
	height: 32px;
}

.site-picker-content
{
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 24px;
}

@media (max-width: 576px)
{
	.site-picker-grid
	{
		grid-template-columns: 1fr;
	}

	.site-picker-status
	{
		display: none;
	}

	.site-picker-topbar
	{
		padding: 12px 16px;
	}

	.site-picker-content
	{
		padding: 24px 16px;
	}
}

.header-badge
{
	position: absolute;
	top: -2px;
	right: -2px;
	font-size: 0.6rem;
	padding: 2px 4px;
}

.login-as-banner
{
	background: #fef3c7;
	border: 1px solid #fbbf24;
	border-radius: 8px;
	padding: 10px 16px;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.875rem;
}

.feed-link-btn
{
	font-size: 0.7rem;
}

.user-avatar-lg
{
	width: 64px;
	height: 64px;
	font-size: 1.5rem;
	margin: 0 auto 1rem;
}

.card-footer-meta
{
	font-size: 0.8125rem;
	color: #64748b;
}

.billing-card-body
{
	font-size: 0.8125rem;
}

.auth-notification
{
	padding: 12px 16px;
	border-radius: 10px;
	margin-bottom: 1.25rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.auth-notification-error
{
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
}

.auth-notification-success
{
	background: #f0fdf4;
	color: #16a34a;
	border: 1px solid #bbf7d0;
}

.search-placeholder
{
	color: #94a3b8;
}

.client-logo-sm
{
	width: 32px;
	height: 32px;
	border-radius: 6px;
	object-fit: cover;
}

.client-logo-preview
{
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
	border: 1px solid #e2e8f0;
}

.client-logo-placeholder
{
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	font-size: 14px;
}

.oauth-page
{
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
	padding: 2rem;
}

.oauth-container
{
	max-width: 480px;
	width: 100%;
	background: #fff;
	border-radius: 16px;
	padding: 2.5rem;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.oauth-header
{
	text-align: center;
	margin-bottom: 2rem;
}

.oauth-logo
{
	width: 48px;
	height: 48px;
	margin-bottom: 1rem;
}

.oauth-header h2
{
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.5rem;
}

.oauth-accounts-list
{
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.oauth-account-option
{
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.2s;
}

.oauth-account-option:hover
{
	border-color: #cbd5e1;
	background: #f8fafc;
}

.oauth-account-option:has(input:checked)
{
	border-color: #3b82f6;
	background: rgba(59, 130, 246, 0.04);
}

.oauth-account-option input[type="radio"]
{
	accent-color: #3b82f6;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.oauth-account-info
{
	flex: 1;
	min-width: 0;
}

.oauth-success-icon,
.oauth-error-icon
{
	font-size: 3rem;
	line-height: 1;
}
