.main-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 0 0 16px 16px;
  direction: rtl;
  border-bottom: 1px solid #d1d5db;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 44px;
  width: auto;
}

.brand-name {
  font-size: 18px;
  font-weight: bold;
  color: #1e3a8a; /* رنگ برند جدید */
}

.user-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
    width: 43px;
    height: 43px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.header-icon {
  font-size: 20px;
  color: #1e3a8a;
  text-decoration: none;
  padding: 8px;
  border-radius: 10px;
  background-color: #e0ecff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icon:hover {
  background-color: #c7dbfa;
  color: #172b70;
}

.user-info {
  font-size: 14px;
  padding: 6px 14px;
  background-color: #f3f6fc;
  border-radius: 12px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
  border: 1px solid #ccd6e0;
  color: #1a1a1a;
}
