.hesap-durum { display: flex; align-items: center; }

.hesap-durum-giris-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #1a3d2b;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border: 1.5px solid #27ae60;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.hesap-durum-giris-link:hover { background: #27ae60; color: #fff; }

.hesap-durum-kullanici { position: relative; display: flex; align-items: center; }

.hesap-durum-ad-link {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: #eaf7ee;
  border: none;
  color: #1a3d2b;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: inherit;
  padding: 4px 12px 4px 4px;
  border-radius: 20px;
  white-space: nowrap;
  transition: background 0.2s;
}
.hesap-durum-ad-link:hover { background: #d9f0e0; }

.hesap-durum-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a6b34, #2d9e52);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.hesap-durum-ok {
  font-size: 0.62rem;
  color: #6b8f78;
  transition: transform 0.2s ease;
}
.hesap-durum-ad-link[aria-expanded="true"] .hesap-durum-ok {
  transform: rotate(180deg);
}

/* Açılır menü (kurumsal hesap dropdown'ı) */
.hesap-durum-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  min-width: 210px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.hesap-durum-dropdown.acik {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hesap-durum-dropdown-selam {
  padding: 8px 12px 10px;
  font-size: 0.78rem;
  color: #999;
  border-bottom: 1px solid #eee;
  margin-bottom: 6px;
}
.hesap-durum-dropdown-selam strong { color: #1a3d2b; }

.hesap-durum-dropdown a,
.hesap-durum-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  text-align: left;
  text-decoration: none;
  color: #333;
  font-size: 0.86rem;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
}
.hesap-durum-dropdown a:hover,
.hesap-durum-dropdown button:hover { background: #f3f8f4; }
.hesap-durum-dropdown a i { color: #27ae60; width: 16px; text-align: center; }
.hesap-durum-dropdown button i { color: #e53935; width: 16px; text-align: center; }

@media (max-width: 900px) {
  .hesap-durum-ad-text { display: none; }
  .hesap-durum-ad-link { padding: 4px; }
  .hesap-durum-giris-link span { display: none; }
  .hesap-durum-giris-link { padding: 8px 10px; }
  .hesap-durum-dropdown { right: -10px; }
}
