

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
}

.icon svg {
  display: block;
  width: 1em;
  height: 1em;
}

.icon-xs {
  font-size: 12px;
}
.icon-sm {
  font-size: 14px;
}
.icon-md {
  font-size: 16px;
}
.icon-lg {
  font-size: 20px;
}
.icon-xl {
  font-size: 24px;
}
.icon-2xl {
  font-size: 32px;
}
.icon-3xl {
  font-size: 48px;
}

.btn .icon,
button .icon {
  margin-right: 6px;
}

.btn .icon:last-child,
button .icon:last-child {
  margin-right: 0;
  margin-left: 6px;
}

.btn .icon:only-child,
button .icon:only-child {
  margin: 0;
}

.btn-icon .icon {
  margin: 0;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 119, 0, 0.1);
  color: var(--primary, #ff7700);
}

.stat-icon .icon {
  font-size: 24px;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.quick-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 119, 0, 0.1);
  color: var(--primary, #ff7700);
}

.quick-action-icon .icon,
.quick-action-icon svg {
  width: 20px;
  height: 20px;
}

.sidebar-menu .icon,
.admin-sidebar .icon {
  margin-right: 10px;
  opacity: 0.9;
}

.icon-success {
  color: #10b981;
}
.icon-error {
  color: #ef4444;
}
.icon-warning {
  color: #f59e0b;
}
.icon-info {
  color: #3b82f6;
}
.icon-pending {
  color: #6b7280;
}

.empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.empty-icon .icon,
.empty-icon svg {
  width: 48px;
  height: 48px;
  color: var(--text-secondary, #6b7280);
  opacity: 0.5;
}

.grid-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-secondary, #6b7280);
}

.file-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  color: var(--primary, #ff7700);
}

.customer-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.status-dot.new {
  background-color: #3b82f6;
}
.status-dot.in_progress {
  background-color: #f59e0b;
}
.status-dot.resolved {
  background-color: #10b981;
}
.status-dot.rejected {
  background-color: #ef4444;
}

.admin-meta-item .icon,
.contact-icon {
  margin-right: 4px;
  opacity: 0.7;
}

.dashboard-section-title .icon,
h2 .icon,
h3 .icon {
  margin-right: 8px;
}

.upload-icon {
  font-size: 48px;
  color: var(--text-secondary, #6b7280);
  margin-bottom: 16px;
}

.modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.modal-icon.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.modal-icon.danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

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

.modal-icon.info {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.tab-badge .icon {
  margin-right: 4px;
}

.warning-icon {
  display: inline-flex;
  color: #f59e0b;
  margin-right: 4px;
}

.role-badge .icon {
  width: 14px;
  height: 14px;
}

.icon {
  user-select: none;
}

.icon-spin {
  animation: icon-spin 1s linear infinite;
}

@keyframes icon-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.company-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 119, 0, 0.1);
  color: var(--primary, #ff7700);
}

.payment-method-icon {
  display: inline-flex;
  margin-right: 6px;
}

.admin-row-avatar .icon {
  font-size: 20px;
}
