/* Profile Dropdown */
.profile-dropdown-wrapper {
  position: relative;
}

.profile-dropdown-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
  position: relative;
  overflow: visible;
}

.profile-dropdown-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.profile-dropdown-button:active {
  transform: translateY(0);
}

.profile-dropdown-text {
  font-weight: 600;
}

.profile-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: 320px;
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  overflow: hidden;
}

.profile-dropdown-header {
  border-bottom: 1px solid var(--color-gray-200);
  padding: 1rem;
  background: var(--color-gray-50);
}

.profile-user-email {
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
}

.profile-plan-info {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

.profile-badge-text,
.profile-expire-date {
  color: var(--color-gray-900);
  font-weight: 500;
}

.profile-dropdown-action {
  border-bottom: 1px solid var(--color-gray-200);
  padding: 0.5rem;
}

.profile-action-button {
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
}

.profile-action-button:hover:not(:disabled) {
  background: var(--color-gray-100);
}

.profile-action-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.profile-action-red {
  color: #DC2626;
}

.profile-action-red:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.1);
}

.profile-action-green {
  color: var(--color-green);
}

.profile-action-green:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.1);
}

.profile-action-amber {
  color: var(--color-amber);
}

.profile-action-amber:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.1);
}

.profile-action-purple {
  background: var(--color-primary);
  color: white;
  font-weight: 500;
}

.profile-action-purple:hover:not(:disabled) {
  background: #0056b3;
}

.profile-dropdown-logout {
  padding: 0.5rem;
}

.profile-dropdown-help {
  border-top: 1px solid var(--color-gray-200);
  padding: 0.75rem 1rem 1rem;
  background: var(--color-gray-50);
}

.profile-help-title {
  margin-bottom: 0.45rem;
  color: var(--color-gray-600);
  font-size: 0.8rem;
  font-weight: 600;
}

.profile-help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.profile-help-link:hover {
  background: rgba(24, 119, 242, 0.08);
  color: #0056b3;
}

.profile-help-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.profile-logout-button {
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.95rem;
  color: var(--color-gray-600);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-logout-button:hover {
  background: var(--color-gray-100);
  color: var(--color-gray-900);
}
