/* =========================================================
   APP ICONS STYLESHEET (100% SELF-CONTAINED SVG ICONS)
   تنسيقات مكتبة الأيقونات المدمجة المستقلة
   ========================================================= */

.app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.15em;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

/* Inside Buttons */
.btn .app-icon {
  width: 1.1em;
  height: 1.1em;
}

/* Icon Tints */
.app-icon.icon-excel {
  color: #86efac;
}
.btn-excel .app-icon {
  color: #bbf7d0;
}

.app-icon.icon-pdf {
  color: #fca5a5;
}
.btn-pdf .app-icon {
  color: #fecaca;
}

.app-icon.icon-import {
  color: #bae6fd;
}
.btn-import .app-icon {
  color: #e0f2fe;
}

.app-icon.icon-primary {
  color: #bfdbfe;
}
.btn-primary .app-icon {
  color: #dbeafe;
}

.app-icon.icon-success {
  color: #a7f3d0;
}
.btn-success .app-icon {
  color: #d1fae5;
}

.app-icon.icon-warning {
  color: #fde047;
}

.app-icon.icon-danger {
  color: #fca5a5;
}

/* Icon Buttons */
.icon-btn .app-icon {
  width: 15px;
  height: 15px;
}
.icon-btn.edit .app-icon {
  color: #2563eb;
}
.icon-btn.edit:hover .app-icon {
  color: #ffffff;
}
.icon-btn.delete .app-icon {
  color: #ef4444;
}
.icon-btn.delete:hover .app-icon {
  color: #ffffff;
}

/* Stat Cards Icons */
.stat-icon .app-icon {
  width: 26px;
  height: 26px;
}

/* Login Screen Icon */
.login-icon-wrapper .app-icon {
  width: 44px;
  height: 44px;
  color: #ffffff;
  filter: drop-shadow(0 4px 10px rgba(59, 130, 246, 0.5));
}

.feature-pill .app-icon {
  width: 18px;
  height: 18px;
  color: #60a5fa;
}

.login-security-badge .app-icon {
  width: 14px;
  height: 14px;
  color: #10b981;
}

/* Header & Navigation Icons */
.logo-wrapper .app-icon {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.sync-status .app-icon {
  width: 13px;
  height: 13px;
}

.server-datetime .app-icon {
  width: 14px;
  height: 14px;
  color: #60a5fa;
}

.user-profile-header .app-icon {
  width: 12px;
  height: 12px;
}

.nav-tab-btn .app-icon {
  width: 18px;
  height: 18px;
}

.profile-dropdown button .app-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}
.profile-dropdown button:hover .app-icon {
  color: var(--primary-light);
}
.profile-dropdown button.logout-btn .app-icon {
  color: var(--danger);
}

/* Search Box */
.search-box .app-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

/* Toast Icons */
.toast-icon .app-icon {
  width: 22px;
  height: 22px;
}
.toast-success .toast-icon .app-icon {
  color: var(--success);
}
.toast-error .toast-icon .app-icon {
  color: var(--danger);
}
.toast-info .toast-icon .app-icon {
  color: var(--info);
}
.toast-warning .toast-icon .app-icon {
  color: var(--warning);
}

/* Confirm Dialog Icon */
.confirm-modal-icon .app-icon {
  width: 34px;
  height: 34px;
  color: var(--danger);
}
