/**
 * Simple Customer & Inventory Manager - Styles
 *
 * @package SimpleCustomerInventory
 */

/* ===================================
   Reset & Base Styles
   =================================== */
.sci-admin-panel * {
	box-sizing: border-box;
}

/* ===================================
   Main Container
   =================================== */
.sci-admin-panel {
	max-width: 1400px;
	margin: 20px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #333;
}

/* ===================================
   Simple Mode - Single Button Interface
   =================================== */
.sci-simple-mode {
	max-width: 800px;
	min-height: 60vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.sci-main-action {
	text-align: center;
	padding: 60px 40px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sci-main-title {
	font-size: 48px;
	font-weight: 700;
	color: #1d2327;
	margin: 0 0 40px 0;
	letter-spacing: -1px;
}

.sci-btn-hero {
	font-size: 32px;
	padding: 30px 60px;
	min-height: 100px;
	border-radius: 12px;
	background: linear-gradient(135deg, #e6c1c1 0%, #f0d1d1 100%);
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: 0 8px 24px rgba(230, 193, 193, 0.4);
	transition: all 0.3s ease;
	font-weight: 700;
	border: none;
}

.sci-btn-hero:hover {
	transform: translateY(-4px);
	background: linear-gradient(135deg, #d4a5a5 0%, #e6c1c1 100%);
	box-shadow: 0 12px 32px rgba(230, 193, 193, 0.5);
	color: #fff;
}

.sci-btn-hero:active {
	transform: translateY(-2px);
}

.sci-btn-hero .dashicons {
	animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

/* ===================================
   Tabs Navigation
   =================================== */
.sci-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	border-bottom: 2px solid #e0e0e0;
	flex-wrap: wrap;
}

.sci-tab-btn {
	padding: 12px 24px;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	color: #666;
	transition: all 0.3s ease;
	min-height: 44px;
}

.sci-tab-btn:hover {
	color: #e6c1c1;
	background-color: #f0f0f0;
}

.sci-tab-btn.active {
	color: #e6c1c1;
	border-bottom-color: #e6c1c1;
}

/* ===================================
   Tab Content
   =================================== */
.sci-tab-content {
	display: none;
}

.sci-tab-content.active {
	display: block;
}

/* ===================================
   Section Header
   =================================== */
.sci-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
}

.sci-section-header h2 {
	margin: 0;
	font-size: 24px;
	color: #1d2327;
}

/* ===================================
   Buttons
   =================================== */
.sci-btn {
	padding: 14px 28px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.2s ease;
	display: inline-block;
	text-decoration: none;
	min-height: 50px;
	line-height: 22px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sci-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.sci-btn:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sci-btn-primary {
	background-color: #e6c1c1;
	color: #fff;
}

.sci-btn-primary:hover {
	background-color: #d4a5a5;
}

.sci-btn-secondary {
	background-color: #f0f0f1;
	color: #2c3338;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sci-btn-secondary:hover {
	background-color: #dcdcde;
}

.sci-btn-danger {
	background-color: #d63638;
	color: #fff;
}

.sci-btn-danger:hover {
	background-color: #b32d2e;
}

.sci-btn-small {
	padding: 8px 16px;
	font-size: 14px;
	min-height: 38px;
	font-weight: 500;
}

.sci-btn-large {
	padding: 18px 36px;
	font-size: 18px;
	min-height: 60px;
	font-weight: 700;
}

.sci-btn-success {
	background: linear-gradient(135deg, #e6c1c1 0%, #f0d1d1 100%);
	color: #fff;
	font-size: 19px;
	padding: 20px 40px;
	box-shadow: 0 4px 12px rgba(230, 193, 193, 0.3);
}

.sci-btn-success:hover {
	background: linear-gradient(135deg, #d4a5a5 0%, #e6c1c1 100%);
	box-shadow: 0 6px 16px rgba(230, 193, 193, 0.4);
}

/* ===================================
   Search Box
   =================================== */
.sci-search-box {
	margin-bottom: 20px;
}

.sci-search-box input[type="text"] {
	width: 100%;
	max-width: 400px;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

/* ===================================
   Tables
   =================================== */
.sci-table-wrapper {
	overflow-x: auto;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 20px;
}

.sci-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 600px;
}

.sci-table thead {
	background-color: #f9f9f9;
}

.sci-table th {
	padding: 12px 15px;
	text-align: left;
	font-weight: 600;
	color: #1d2327;
	border-bottom: 2px solid #ddd;
	white-space: nowrap;
}

.sci-table td {
	padding: 12px 15px;
	border-bottom: 1px solid #f0f0f0;
}

.sci-table tbody tr:hover {
	background-color: #f9f9f9;
}

.sci-table tbody tr:last-child td {
	border-bottom: none;
}

.sci-loading,
.sci-error {
	text-align: center;
	padding: 40px 20px !important;
	color: #666;
}

.sci-error {
	color: #d63638;
}

/* ===================================
   Status Badges
   =================================== */
.sci-status-badge {
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
	text-transform: capitalize;
	display: inline-block;
}

.sci-status-active,
.sci-status-completed {
	background-color: #d4edda;
	color: #155724;
}

.sci-status-inactive,
.sci-status-pending {
	background-color: #fff3cd;
	color: #856404;
}

.sci-status-cancelled,
.sci-status-discontinued {
	background-color: #f8d7da;
	color: #721c24;
}

/* ===================================
   Low Stock Indicator
   =================================== */
.sci-low-stock {
	color: #d63638;
	font-weight: 600;
}

/* ===================================
   Modals
   =================================== */
.sci-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

.sci-modal-content {
	background-color: #fff;
	margin: 5% auto;
	padding: 30px;
	border: 1px solid #888;
	border-radius: 8px;
	width: 90%;
	max-width: 600px;
	position: relative;
	animation: slideDown 0.3s ease;
}

.sci-modal-large {
	max-width: 900px;
}

.sci-modal-small {
	max-width: 400px;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.sci-modal-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	line-height: 20px;
}

.sci-modal-close:hover,
.sci-modal-close:focus {
	color: #000;
}

.sci-modal h3 {
	margin: 0 0 20px 0;
	color: #1d2327;
}

/* ===================================
   Forms
   =================================== */
.sci-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-bottom: 15px;
}

.sci-form-group {
	margin-bottom: 20px;
}

.sci-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #1d2327;
	font-size: 15px;
}

.sci-form-group input[type="text"],
.sci-form-group input[type="email"],
.sci-form-group input[type="number"],
.sci-form-group textarea,
.sci-form-group select {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid #ddd;
	border-radius: 6px;
	font-size: 16px;
	font-family: inherit;
	transition: all 0.2s ease;
}

.sci-form-group textarea {
	resize: vertical;
	min-height: 80px;
}

.sci-form-group input:focus,
.sci-form-group textarea:focus,
.sci-form-group select:focus {
	outline: none;
	border-color: #e6c1c1;
	box-shadow: 0 0 0 3px rgba(230, 193, 193, 0.1);
}

.sci-form-actions {
	display: flex;
	gap: 12px;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
	flex-wrap: wrap;
}

.sci-help-text {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #666;
	font-style: italic;
}

.sci-optional {
	font-weight: 400;
	color: #999;
	font-size: 13px;
}

/* ===================================
   Order Items Section
   =================================== */
.sci-customer-info-section,
.sci-order-items-section {
	background: #f9f9f9;
	padding: 25px;
	border-radius: 8px;
	margin: 25px 0;
	border: 1px solid #e0e0e0;
}

.sci-customer-info-section h4,
.sci-order-items-section h4 {
	margin: 0 0 20px 0;
	color: #1d2327;
	font-size: 18px;
	font-weight: 700;
	border-bottom: 2px solid #e6c1c1;
	padding-bottom: 10px;
}

.sci-customer-found {
	background: #fce8e8;
	color: #8a5555;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 15px;
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.sci-customer-found strong {
	font-weight: 700;
}

.sci-order-items-table {
	background: #fff;
	margin-top: 15px;
	border-radius: 6px;
	overflow: hidden;
}

.sci-order-items-table tfoot {
	background: #f9f9f9;
	font-weight: 700;
	font-size: 18px;
}

.sci-order-items-table tfoot td {
	padding: 16px 15px;
}

.sci-quantity-input {
	width: 80px;
	padding: 8px;
	border: 2px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	text-align: center;
	font-weight: 600;
}

.sci-empty-message {
	text-align: center;
	color: #666;
	font-style: italic;
	padding: 30px !important;
}

/* ===================================
   Product Search Results
   =================================== */
.sci-search-results {
	position: relative;
	background: #fff;
	border: 2px solid #e6c1c1;
	border-radius: 6px;
	margin-top: 8px;
	max-height: 300px;
	overflow-y: auto;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 100;
}

.sci-search-result-item {
	padding: 16px 20px;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.2s ease;
	font-size: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sci-search-result-item:last-child {
	border-bottom: none;
}

.sci-search-result-item:hover {
	background-color: #fdf5f5;
	padding-left: 24px;
}

.sci-search-result-item:active {
	background-color: #f5e8e8;
}

.sci-product-name {
	font-weight: 600;
	color: #1d2327;
}

.sci-product-details {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 4px;
	font-size: 14px;
	color: #666;
}

.sci-product-price {
	font-weight: 600;
	color: #e6c1c1;
	font-size: 16px;
}

.sci-stock-info {
	color: #666;
	font-size: 14px;
}

.sci-stock-low {
	color: #d63638;
	font-weight: 600;
}

/* ===================================
   Multi-Step Progress Indicator
   =================================== */
.sci-step-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 25px 0 35px 0;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

.sci-step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	position: relative;
	transition: all 0.3s ease;
}

.sci-step-number {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #ddd;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	transition: all 0.3s ease;
	border: 3px solid transparent;
}

.sci-step-label {
	font-size: 13px;
	font-weight: 600;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.sci-step-item.active .sci-step-number {
	background: #e6c1c1;
	color: #fff;
	border-color: #e6c1c1;
	box-shadow: 0 0 0 4px rgba(230, 193, 193, 0.2);
	animation: pulse-border 2s infinite;
}

.sci-step-item.active .sci-step-label {
	color: #e6c1c1;
}

.sci-step-item.complete .sci-step-number {
	background: #d4a5a5;
	color: #fff;
	border-color: #d4a5a5;
}

.sci-step-item.complete .sci-step-label {
	color: #d4a5a5;
}

.sci-step-item.complete .sci-step-number::before {
	content: '\f147';
	font-family: 'dashicons';
	font-size: 24px;
}

.sci-step-divider {
	width: 80px;
	height: 3px;
	background: #ddd;
	margin: 0 10px;
	position: relative;
	top: -12px;
	transition: all 0.3s ease;
}

.sci-step-item.complete + .sci-step-divider {
	background: #d4a5a5;
}

@keyframes pulse-border {
	0%, 100% {
		box-shadow: 0 0 0 4px rgba(230, 193, 193, 0.2);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(230, 193, 193, 0.1);
	}
}

/* ===================================
   Step Sections
   =================================== */
.sci-step-section {
	margin: 25px 0;
	padding: 25px;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.sci-step-section.active {
	border-color: #e6c1c1;
	box-shadow: 0 0 0 3px rgba(230, 193, 193, 0.1);
}

.sci-step-section.complete {
	border-color: #d4a5a5;
	background: #fdf8f8;
}

.sci-step-section.disabled {
	opacity: 0.5;
	pointer-events: none;
	background: #f9f9f9;
}

.sci-step-section.disabled .sci-step-content {
	filter: blur(1px);
}

.sci-step-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e0e0e0;
}

.sci-step-section.active .sci-step-header {
	border-bottom-color: #e6c1c1;
}

.sci-step-section.complete .sci-step-header {
	border-bottom-color: #d4a5a5;
}

.sci-step-header h4 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #1d2327;
}

.sci-step-section.active .sci-step-header h4 {
	color: #e6c1c1;
}

.sci-step-section.complete .sci-step-header h4 {
	color: #d4a5a5;
}

.sci-step-status {
	display: none;
	font-size: 14px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 20px;
	background: #f0f0f0;
	color: #666;
}

.sci-step-section.complete .sci-step-status {
	display: inline-block;
	background: #fce8e8;
	color: #8a5555;
}

.sci-step-section.complete .sci-step-status::before {
	content: '\f147 ';
	font-family: 'dashicons';
	vertical-align: middle;
}

.sci-step-section.active .sci-step-status {
	display: inline-block;
	background: #fdf5f5;
	color: #e6c1c1;
}

.sci-step-content {
	transition: all 0.3s ease;
}

/* ===================================
   Toast Notifications
   =================================== */
.sci-toast {
	visibility: hidden;
	min-width: 250px;
	background-color: #333;
	color: #fff;
	text-align: center;
	border-radius: 4px;
	padding: 16px;
	position: fixed;
	z-index: 10001;
	right: 30px;
	bottom: 30px;
	font-size: 14px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sci-toast-show {
	visibility: visible;
	animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.sci-toast-success {
	background-color: #d4a5a5;
}

.sci-toast-error {
	background-color: #d63638;
}

.sci-toast-info {
	background-color: #e6c1c1;
}

@keyframes fadein {
	from {
		bottom: 0;
		opacity: 0;
	}
	to {
		bottom: 30px;
		opacity: 1;
	}
}

@keyframes fadeout {
	from {
		bottom: 30px;
		opacity: 1;
	}
	to {
		bottom: 0;
		opacity: 0;
	}
}

/* ===================================
   Dashboard Styles
   =================================== */
.sci-dashboard {
	background: #fff;
	padding: 20px;
	border-radius: 8px;
}

.sci-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.sci-stat-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 25px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 20px;
	color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sci-stat-card:nth-child(2) {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.sci-stat-card:nth-child(3) {
	background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.sci-stat-card:nth-child(4) {
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.sci-stat-icon {
	font-size: 48px;
	opacity: 0.8;
}

.sci-stat-content h3 {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
}

.sci-stat-content p {
	margin: 5px 0 0 0;
	font-size: 14px;
	opacity: 0.9;
}

.sci-alert {
	padding: 15px 20px;
	border-radius: 4px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.sci-alert-warning {
	background-color: #fff3cd;
	color: #856404;
	border: 1px solid #ffeaa7;
}

.sci-alert .dashicons {
	font-size: 20px;
}

.sci-alert a {
	color: #856404;
	text-decoration: underline;
	margin-left: 10px;
}

.sci-section {
	margin-bottom: 30px;
}

.sci-quick-links {
	margin-top: 30px;
}

.sci-link-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-top: 15px;
}

.sci-link-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	text-decoration: none;
	color: #e6c1c1;
	font-weight: 500;
	transition: all 0.3s ease;
	min-height: 120px;
}

.sci-link-card:hover {
	border-color: #e6c1c1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.sci-link-card .dashicons {
	font-size: 48px;
	margin-bottom: 10px;
}

/* ===================================
   Responsive Design - Tablet
   =================================== */
@media (max-width: 1024px) {
	.sci-admin-panel {
		margin: 15px;
	}

	.sci-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.sci-modal-content {
		width: 95%;
		margin: 10% auto;
	}
}

/* ===================================
   Responsive Design - Mobile
   =================================== */
@media (max-width: 768px) {
	.sci-admin-panel {
		margin: 10px;
	}

	.sci-tabs {
		gap: 5px;
	}

	.sci-tab-btn {
		padding: 12px 16px;
		font-size: 15px;
		flex: 1;
		text-align: center;
	}

	.sci-section-header {
		flex-direction: column;
		align-items: stretch;
	}

	.sci-section-header h2 {
		font-size: 22px;
		margin-bottom: 12px;
	}

	.sci-section-header .sci-btn {
		width: 100%;
	}

	.sci-stats-grid {
		grid-template-columns: 1fr;
	}

	.sci-stat-card {
		padding: 20px;
	}

	.sci-stat-icon {
		font-size: 36px;
	}

	.sci-stat-content h3 {
		font-size: 24px;
	}

	.sci-form-row {
		grid-template-columns: 1fr;
	}

	.sci-modal-content {
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 20px;
		border-radius: 0;
		max-width: 100%;
	}

	.sci-modal-large {
		max-width: 100%;
	}

	.sci-modal h3 {
		font-size: 22px;
	}

	.sci-table-wrapper {
		border: none;
		border-radius: 0;
	}

	.sci-table {
		font-size: 14px;
	}

	.sci-table th,
	.sci-table td {
		padding: 10px 12px;
	}

	.sci-btn {
		width: 100%;
		text-align: center;
	}

	.sci-btn-large {
		font-size: 17px;
		padding: 16px 24px;
	}

	.sci-form-group label {
		font-size: 16px;
	}

	.sci-form-group input,
	.sci-form-group textarea {
		font-size: 16px;
		padding: 16px;
	}

	.sci-form-actions {
		flex-direction: column-reverse;
	}

	.sci-form-actions .sci-btn {
		width: 100%;
	}

	.sci-toast {
		right: 15px;
		bottom: 15px;
		left: 15px;
		min-width: auto;
	}

	.sci-link-grid {
		grid-template-columns: 1fr;
	}

	.sci-customer-info-section h4,
	.sci-order-items-section h4 {
		font-size: 17px;
	}

	.sci-step-progress {
		padding: 15px 10px;
	}

	.sci-step-number {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	.sci-step-label {
		font-size: 11px;
	}

	.sci-step-divider {
		width: 40px;
		top: -10px;
	}

	.sci-step-section {
		padding: 20px 15px;
	}

	.sci-step-header h4 {
		font-size: 16px;
	}

	.sci-main-action {
		padding: 40px 20px;
	}

	.sci-main-title {
		font-size: 32px;
		margin-bottom: 30px;
	}

	.sci-btn-hero {
		font-size: 24px;
		padding: 24px 40px;
		min-height: 80px;
		width: 100%;
	}

	.sci-btn-hero .dashicons {
		font-size: 28px !important;
	}
}

/* ===================================
   Print Styles
   =================================== */
@media print {
	.sci-tabs,
	.sci-btn,
	.sci-search-box,
	.sci-modal {
		display: none !important;
	}

	.sci-admin-panel {
		max-width: 100%;
	}

	.sci-table {
		border: 1px solid #000;
	}

	.sci-table th,
	.sci-table td {
		border: 1px solid #000;
	}
}

/* ===================================
   Accessibility
   =================================== */
.sci-btn:focus,
.sci-tab-btn:focus,
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid #e6c1c1;
	outline-offset: 2px;
}

.sci-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ===================================
   WordPress Admin Compatibility
   =================================== */
.wrap .sci-admin-panel {
	background: #fff;
	padding: 20px;
	margin-top: 20px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

/* ===================================
   Connection Status Indicator
   =================================== */
#sci-connection-status {
	position: fixed;
	top: 32px;
	right: 20px;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
}

.sci-status-online {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.sci-status-offline {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.sci-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
	animation: pulse 2s infinite;
}

.sci-status-online .sci-status-dot {
	background-color: #d4a5a5;
}

.sci-status-offline .sci-status-dot {
	background-color: #dc3545;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

/* Admin bar adjustment */
.admin-bar #sci-connection-status {
	top: 52px;
}

/* Mobile adjustment */
@media (max-width: 768px) {
	#sci-connection-status {
		top: 10px;
		right: 10px;
		font-size: 11px;
		padding: 6px 12px;
	}
	
	.admin-bar #sci-connection-status {
		top: 56px;
	}
}
