/* Custom Authentication Styles for Header */

/* Nav Right User Menu */
.nav-right .dropdown {
  position: relative;
  display: inline-block;
}

.nav-right .dropdown-toggle {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-right .dropdown-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-right .dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  min-width: 260px;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-right .dropdown:hover .dropdown-menu,
.nav-right .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-right .dropdown-header {
  padding: 15px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.nav-right .dropdown-header strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.nav-right .dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
}

.nav-right .dropdown-item:hover {
  background-color: #f8f9fa;
  color: var(--theme-color);
  padding-left: 25px;
}

.nav-right .dropdown-item i {
  width: 20px;
  font-size: 16px;
  text-align: center;
}

.nav-right .dropdown-divider {
  margin: 0;
  border-top: 1px solid #e5e5e5;
}

.nav-right .dropdown-item.text-danger:hover {
  background-color: #fff5f5;
  color: #dc3545;
}

/* Login/Register Links in Nav */
.nav-right-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.nav-right-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--theme-color);
}

.nav-right-link i {
  font-size: 18px;
}

/* Mobile User Menu */
.mobile-user-menu,
.mobile-auth-menu {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.mobile-user-menu .fa-user-circle {
  color: var(--theme-color);
}

.mobile-user-menu strong {
  font-size: 16px;
  color: #333;
}

.mobile-user-menu .text-muted {
  font-size: 12px;
}

.mobile-user-menu .btn,
.mobile-auth-menu .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mobile-user-menu .btn i,
.mobile-auth-menu .btn i {
  font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .header-top-list .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    margin-top: 5px;
    padding-left: 20px;
  }
}

/* User greeting text */
.header-top-list .dropdown-toggle {
  font-weight: 500;
}

/* Hover effects for better UX */
.header-top-list li a:hover i {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* Trust Score Badge (for future use) */
.user-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 5px;
}

.user-trust-badge i {
  font-size: 10px;
}

/* Profile Completion Indicator (for future use) */
.profile-completion-mini {
  display: inline-block;
  width: 30px;
  height: 3px;
  background: #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
  margin-left: 5px;
  vertical-align: middle;
}

.profile-completion-mini .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

/* Verification Badge */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #28a745;
  font-size: 11px;
  margin-left: 5px;
}

.verified-badge i {
  font-size: 12px;
}
